[algorithm][leetcode] 107. Binary Tree Level Order Traversal II

victor·2020년 2월 13일
0

알고리즘

목록 보기
8/12

Runtime: 56 ms, faster than 82.45% of JavaScript online submissions for Binary Tree Level Order Traversal II.
Memory Usage: 34.7 MB, less than 100.00% of JavaScript online submissions for Binary Tree Level Order Traversal II.

실행순서

level:0 => [] root 3
level:1 => [ [ 3 ] ] root 9
level:1 => [ [ 3 ], [ 9 ] ] root 20
level:2 => [ [ 3 ], [ 9, 20 ] ] root 15
level:2 => [ [ 3 ], [ 9, 20 ], [ 15 ] ] root 7

profile
캬-!

0개의 댓글