Same Tree - LeetCode 100 - JavaScript

preview_player
Показать описание


Walk through of the solution to the Leetcode question, Same Tree.

LeetCode question 100

JavaScript

0:00 Explanation
2:44 Code

#softwareengineering #leetcode #javascript
Рекомендации по теме
Комментарии
Автор

this is an excellent method to explain make more video please!

AnkushYadav-ytyu
Автор

can't we just do a BFS traversal, using the two roots? and at any point, if the nodes differ, it is not the same tree

brianspinos
visit shbcf.ru