Algorithms and Data Structures (CSC112)
Algorithms and Data Structures (CSC112)
(CSC112)
Handout -1
Searching Algorithms
Sorting Algorithms
ADT: Stack
ADT: Queue
Quantitative analysis of the structure, which includes determining the amount of memory
needed to store the structure and the time required to process the structure
Lists (Array /Linked List)
Array Lists
Linked Lists
Stacks
insert/push
remove/pop
top
make empty
Queue
Trees
}
Hash Tables
Sorting O(N), access O(1) if a perfect hash function and enough memory for table
-----------------------------------------------