Two PointersDesignSortingHeap (Priority Queue)Data Stream
Maximum Depth of Binary Tree
EASY
50%
TreeDepth-First SearchBreadth-First SearchBinary Tree
PREPARE FASTER
Need Help Solving These Problems?
CodingInterviewAI can instantly identify algorithms and generate optimal solutions for any LeetCode problem. Get step-by-step explanations and ace your next technical interview.