Leetcode 0100. Same Tree
Posted on Mon 09 January 2023 in Leetcode • Tagged with binary-tree-traversal, recursion
Question Link : https://leetcode.com/problems/same-tree/
Difficulty: Easy
Premium: False
Question
Given the roots of two binary trees p and q, 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 …
Continue reading