Same Tree Leetcode Javascript | 100 Same Tree Leetcode
Автор: Persistent Programmer
Загружено: 2020-11-22
Просмотров: 1843
🔴 Subscribe for more algorithm videos - / @persistentprogrammer
🔴 Support me on Patreon - / persistentprogrammer
🔴 Question Link -
https://leetcode.com/problems/flood-f...
✅Connect with me
✉️ Email - 1persistentprogrammer@gmail.com
✅Instagram - / persistentprogrammer
🔴 Question with Example
100. Same Tree
Given two binary trees, write a function to check if they are the same or not.
Two binary trees are considered the same if they are structurally identical and the nodes have the same value.
Example 1:
Input:
1 1
/ \ / \
2 3 2 3
[1,2,3], [1,2,3]
Output: true
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: