Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 492 Bytes

File metadata and controls

22 lines (13 loc) · 492 Bytes

Graph Breadth First

Given a Binary Tree, Find the sum of all elements ... Iteratively.

Whiteboard Process

Whiteboard Image

DSA Practice

Approach & Efficiency

  1. Write out problem statement
  2. write test cases
  3. drew diagram
  4. The Big O Time: O(n) number of nodes in tree. Space: O(w) max width of tree

Solution

Solution