Загрузка страницы

Minimum Depth of Binary Tree, Do you do these mistakes in an interview ? LeetCode - 111, 104

The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node. Candidates make mistakes while solving this problem as it looks very similar to the Maximum Depth of Binary Tree Which is Wrong !! Again it's a DFS question.

#binarytree #mindepth #leetcode

LeetCode link :
https://leetcode.com/problems/minimum-depth-of-binary-tree/
https://leetcode.com/problems/maximum-depth-of-binary-tree/

Another solution : https://youtu.be/-K8MyVUBnQQ

0:00 Revisit Maximum Depth
2:30 Minimum Depth
4:30 Tips and Don'ts

Видео Minimum Depth of Binary Tree, Do you do these mistakes in an interview ? LeetCode - 111, 104 канала InterviewDose
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
14 июня 2020 г. 7:38:31
00:05:11
Яндекс.Метрика