728x90
binary tree
-
[ Tree ] 104. Maximum Depth of Binary Tree (JAVA)리트코드(Leetcode) 2023. 6. 26. 11:24
104번 문제 https://leetcode.com/problems/maximum-depth-of-binary-tree/ Maximum Depth of Binary Tree - LeetCode Can you solve this real interview question? Maximum Depth of Binary Tree - Given the root of a binary tree, return its maximum depth. A binary tree's maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf leetcode.com 1. 문제 Given the root o..