1. Problem Summary You are given the roots of two binary trees p and q. You must determine whether the two trees are the same . Two binary trees are considered the same if: They are structurally identical (same shape), and Every corresponding node has the same value . Input: roots p and q (each may be null) Output: Boolean: true if the trees are identical, false otherwise. Constraints: Each tree has 0 to 100 nodes. Node values are in [-10 4 , 10 4 ]. 2. Examples Explanation Example 1: Input: p = [1,2,3], q = [1,2,3] Both trees: Root 1 Left 2 Right 3 Same structure and node values → true. Example 2: Input: p = [1,2], q = [1,null,2] Trees: p: Root 1 Left 2 Right null q: Root 1 Left null Right 2 Different structure (one left child vs one right child) → false. Example 3: Input: p = [1,2,1], q = [...