Minimum Time to Collect All Apples in a Tree | LeetCode 1443 | Java

preview_player
Показать описание
(watch at 1.25x)

Hello charms,
This video explains LeetCode problem, 1443. Minimum Time to Collect All Apples in a Tree. I hope you have understood the Intuition behind solving the problem. If you have any questions/doubts regarding the problem, feel free to drop them down below. If you like the explanation, do like the video it means the world to me and are not yet subscribed, consider subscribing and turning on bell notification button for more Problem solving video, Interview related content and more.
Keep Grinding! See ya tomorrow!

Chapters:
0:00 Understanding the Problem
3:23 Intuition
8:35 Coding
14:33 Time & Space Complexity
15:08 Outro

#leetcode
#leetcodesolution
#leetcodedailychallenge
#intervew
#interviewquestions
#technology
#technicalinterview
#math
#problemsolving
#interviewquestions
#interviewpreparation
#leetcode100
#binarytree
#tree
#trees
#dfs
#bfs
Рекомендации по теме
Комментарии
Автор

Time Complexity: O(n) | Space complexity: O(n), where n = number of nodes [ Forgot to consider Adjacency List in the Video ]

codingcharms
Автор

Can you explain how does the code work taking example please.

drac