Recent posts

리트코드) 104. 이진 트리의 최대 깊이(자바)

1 minute read

이진 트리의 최대 깊이 https://leetcode.com/problems/maximum-depth-of-binary-tree 문제 : 이진트리의 최대 깊이(depth) 구하라. 입력 : [3,9,20,null,null,15,7] 출력 : 3 특징 반복구조 bfs =...