CISC 235 Lecture 1: Week 1

76 views2 pages

Document Summary

Equivalently, how would you store a list of existing user-names, so that when a new user selects a user-name you can quickly determine if it has already been taken. These problems all have two things in common: each one. This illustrates the first and crucial point about choosing a data structure to organize a set of information - we need to know what we want to do with it. Some data structures are particularly suited for searching the set, while others are optimal for adding and deleting members of the set, or finding subsets, etc. Thus we need to think about the types of operations we may need to implement for a data set, since these will definitely influence our decision. Remove an element from the set (these first two operations do not necessarily go together: some data sets never grow, and some never shrink)

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents