Anran

Results 21 comments of Anran

### BFS ```javascript var maxDepth = function(root) { if(!root) return 0; let max = 0; let queue = [root]; while(queue.length) { max+=1; let len = queue.length; for(let i = 0;i