Implemented the isSameTree method in the Solution class to check if two binary trees are identical.
Added test cases to verify the correctness of the implementation:
Test Case 1: Identical Trees
Test Case 2: Different Structures
Test Case 3: One Tree Empty
Description:
Implemented the isSameTree method in the Solution class to check if two binary trees are identical. Added test cases to verify the correctness of the implementation: Test Case 1: Identical Trees Test Case 2: Different Structures Test Case 3: One Tree Empty