File explorer / nested tree
Comes up in: Machine coding
This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.
What it covers
- recursive components
- expand/collapse
- add/rename/delete nodes immutably
- tree keyboard navigation
Words you will know
What you will practise
- build (timed 75 min)
Interview questions this answers
- Build a file explorer that supports adding and deleting nested folders.
- How would you evaluate formulas that reference other cells and detect cycles?