← Questions
Nested todo list with subtasks
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Model a todo list whose items can nest subtasks to any depth: add, complete and list tasks while keeping the hierarchy. Reported on 1point3acres' Notion bank; reconstructed in our own words.
Sign in to see the worked answer
The full answer, chapter by chapter, with what interviewers expect at each level. Free with an account: one full answer per company.
Sign in to see the worked answer
The full answer, chapter by chapter, with what interviewers expect at each level. Free with an account: one full answer per company.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
