Data Structures Practice

Select and use lists, mappings, sets, stacks, queues, heaps, and graph traversals.

Recommended resources

Instructions

  1. State why the chosen container supports the required operation efficiently.

Ordered items

  1. Frequency map with deterministic tiesData Structures · 8 min
  2. Balanced delimiters with a stackData Structures · 10 min
  3. Keep the k largest values with a heapData Structures · 7 min
  4. Recursive binary searchRecursion · 10 min
  5. Shortest unweighted distance with BFSData Structures · 12 min
  6. Connected component with iterative DFSData Structures · 10 min
  7. Dictionary selection finger exerciseData Structures · 10 min

Completion

Implement each structure-driven pattern from a blank function signature.