CS102_DataStructures

CS102_DataStructures - CS102DataStructures Lists,Stacks,...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
    CS102 – Data Structures Lists, Stacks,  Queues, Trees, Hash Collections Framework David Davenport Spring 2002
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
    Abstract Data Structures Data Structures - collections of data Already seen two  (~ fixed/static) arrays  - elements of same type objects - elements of differing types Dynamic Data Structures space allocated as needed Abstract Data Structures common conceptual  (list, stack, queues, trees. ..) multiple implementations  (static & dynamic)
Background image of page 2
    Lists  (linked-lists) Familiar eg. shopping list, phone no’s, … set of items,  Operations insert, delete, search, iterate, … dog cat mouse horse head
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
    List - implementation Using Java Vector class Using arrays  (simple approach) Implicit succ/pred Linked lists  
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 13

CS102_DataStructures - CS102DataStructures Lists,Stacks,...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online