My Blog List

[Leetcode Solution] Binary Tree Level Order Traversal

Analysis

  • Using BFS search each layer of binary tree from the root to leaf
  • Print out nodes in each layer 

Note

Code


No comments:

Post a Comment

Enter you comment