๐ŸŒฒ
๐ŸŽฏ Trees, Heaps & Tries ยท DS-201 ยท Final project

Use the Right Structure

Show data-structure judgement: take a set of small problems and pick (and justify) the right structure for each, ideally using the stack's tools.

๐Ÿ“ฆ Deliverable

A write-up (with optional code using larztree/larzheap/larztrie) tackling several small problems - e.g. 'autocomplete a list of names', 'always process the most urgent task', 'keep scores sorted and searchable', 'find the top 5 items' - stating which structure you'd use for each and why (the operation it makes fast), and noting where you'd just use a list or dict instead. The goal is demonstrating the choose-by-operation judgement.

Steps

  1. Take a handful of small, distinct problems.
  2. For each, identify the operation that must be fast.
  3. Match it to a structure (list/dict/BST/heap/trie/graph) and justify it.
  4. Where a list or dict suffices, say so (don't over-engineer).
  5. Optionally implement one or two with larztree/larzheap/larztrie.
  6. Summarise the choose-by-operation principle.

๐Ÿงฉ Build it with LarzOS

The exact free tools for this project:

๐ŸŽ“ That's the whole course

You've completed Trees, Heaps & Tries (DS-201)

Sessions, assignments and a real project โ€” done. Take these skills into the LarzOS tools and workflows.

Explore the tools โ†’

More in this course

Course home → · Browse all courses →