Put in order · Vibe coding with Claude Code course · Module 5: Reddit clone
Sorting: Nesting depth
Order the comments by increasing nesting depth:
Items to put in order
- depth = 1 (reply)
- depth = 3 (even deeper)
- depth = 0 (top-level comment)
- depth = 2 (reply to a reply)
You can check the correct answer by solving this task in the CodeWorlds game.