Create an N-ary tree and perform BFS/DFS traversal
Filed under Energy Exemplar
The question
Implement an N-ary tree data structure and write functions to traverse it using Breadth-First Search and Depth-First Search.
No write-up yet. Related questions below have one.
Related Energy Exemplar questions
Collected from public candidate posts and coding forums. Updated Nov 2026.