Skip to main content

Tree View - Left View

Learn Tree View - Left View (Trees, Data Structures & Algorithms) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Left View - the First Node Visible at Each Level Standing to the LEFT of the tree, which nodes can you see? Exactly the FIRST node encountered at each depth during a level-order (BFS) traversal. Group by level, take the first element of each group.

More lessons in Trees