CodingReported in a candidate post, Dec 2024
N-ary tree problem solved with DFS and backtracking
Filed under Google
The question
The first question concerned n-ary trees and was solvable with DFS and backtracking; the candidate coded it in about 10 minutes.
No write-up yet. Related questions below have one.
Related Google questions
Collected from public candidate posts and coding forums. Updated Nov 2026.