All practice tasks

Knowledge Check

Tree traversal evidence

While reviewing trees graphs, a menu must enumerate every nested item. Which action fixes it, and which check proves it worked?

Answer options

  • A. Search level by level with a queue
  • B. Search recursively or with a stack
  • C. Traverse each child subtree
  • D. Verify every node is visited once

What this task practices

Tree traversal evidence is a knowledge check interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as hard difficulty. It focuses on Trees Graphs, Tree Traversal. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.

Sign in to startThe workspace and evaluation open after sign in.