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
- Take a handful of small, distinct problems.
- For each, identify the operation that must be fast.
- Match it to a structure (list/dict/BST/heap/trie/graph) and justify it.
- Where a list or dict suffices, say so (don't over-engineer).
- Optionally implement one or two with larztree/larzheap/larztrie.
- Summarise the choose-by-operation principle.
๐งฉ Build it with LarzOS
The exact free tools for this project:
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 โ