Swift by An Tran · Jun 16, 2024
iOS Interview - Leetcode 104. Maximum Depth of Binary Tree
0Sign in to vote or save
This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.
Leetcode: 104. Maximum Depth of Binary Tree Primary idea: Use DFS to calculate max depth of left and right node from the parent node. Time…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.