Topic 5 - Abstract Data Structures
Topic 5 - Abstract Data Structures
Channel Updates
- Option A in Progress
- Check the description for Cram Guides
- For existing customers, minor updates to HL and SL Guides
Linked Lists
- Head, Pointer, Node, Tail
- Types of Linked Lists
- Single Linked
- Double Linked
- Circular Linked
Linked Lists - Basic Tasks
- Traverse a linked list
- Front and back of circular linked list
- Insert values from a linked list
- Remove values from a linked list
Binary (Search) Trees - Basic Tasks
- Build a binary tree from a set of integers or letters
- Traverse a binary tree using preorder, inorder, and postorder methods
- Add new values to a binary tree
- Remove existing values from a binary tree
Binary (Search) Trees Pros & Cons
Advantages Disadvantages
Elements don’t need to be removed to be Insertion and deletion are slow due to need
checked like stacks or queues to rebalance tree