Fundamentals
/
Breadth First Search on Trees
⏸
00:00
↻
← Prev
Next →
▶
Question
Given the root of a tree where each node has a values array and a children array, return all node values in BFS (level order).
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
6