Learning objectives
Write pseudocode functions that find an item in a linked list held in an array of nodes and in a binary search tree, returning an index or the null pointer
Write insertion for a linked list using the free list, insertion for a binary search tree, and deletion from a linked list, updating pointers in a safe order
Dry-run each routine with a trace table, including the empty-structure and not-found cases
Compare the number of nodes visited when searching a list and a tree, and state when the tree loses its advantage
Continue with a revision plan
These learning objectives are available to everyone. Sign in with an eligible plan to read the full note and worked examples.
