Binary Tree Level Order Traversal
Description https://oj.leetcode.com/problems/binary-tree-level-order-traversal/ Difficulty: 0.5/5.0 star Related: https://oj.leetcode.com/problems/binary-tree-level-order-traversal-ii/ Analysis and solution class Solution { public: vector<vector<int> > levelOrder(TreeNode *root) { vector<vector<int> > result; traverse(root, 0, result); return result; } void traverse(TreeNode * pt, int level, vector<vector<int> > & result){ if (pt...