filmov
tv
Same Tree - LeetCode 100 - Coding Interview Questions

Показать описание
---- ------
the problem is that they give you two binary trees p
and q, and they ask you to check if they are the same or not.
To solve this problem, we gonna use The depth first search Algorithm with the Recursion approach and the iterative approach.
Next, we present the solution and walk you through the code step by step, highlighting the key points and explaining the logic behind each part of the solution.
Whether you are preparing for a technical interview or just looking to improve your coding skills, this video is a great resource.
If you found this video helpful, like, subscribe, comment.
#codinginterview #leetcodedailychallenge #codinginterviewquestions #leetcode #leetcodesolution
---- ----
Intro : (0:00)
DFS + Recursion Animation : (0:07)
Code Explanation : (1:41)
Complexity Analysis : (2:15)
DFS + Iteration Solution : (2:31)
Complexity Analysis : (3:52)
the problem is that they give you two binary trees p
and q, and they ask you to check if they are the same or not.
To solve this problem, we gonna use The depth first search Algorithm with the Recursion approach and the iterative approach.
Next, we present the solution and walk you through the code step by step, highlighting the key points and explaining the logic behind each part of the solution.
Whether you are preparing for a technical interview or just looking to improve your coding skills, this video is a great resource.
If you found this video helpful, like, subscribe, comment.
#codinginterview #leetcodedailychallenge #codinginterviewquestions #leetcode #leetcodesolution
---- ----
Intro : (0:00)
DFS + Recursion Animation : (0:07)
Code Explanation : (1:41)
Complexity Analysis : (2:15)
DFS + Iteration Solution : (2:31)
Complexity Analysis : (3:52)