🔴 Subscribe for more algorithm videos - https://www.youtube.com/channel/UCpTo8a_5OeZkR9tEcwSBbAA?sub_confirmation=1
🔴 Support me on Patreon - https://www.patreon.com/persistentprogrammer
🔴 Question Link -
https://leetcode.com/problems/flood-fill/
✅Connect with me
✉️ Email - [email protected]
✅Instagram - https://www.instagram.com/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