07.06 · Problem
Subtree of Another Tree
This problem is part of solulu Pro
Return true if root contains a subtree identical to subRoot. A subtree consists of a node and all of its descendants — it must match all the way down to the leaves.
Lifetime ₹1,999 ₹999 · Launch offer
Item 51 of 150 · updated 2026-10-12