You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VisualStudio: Add symmetry check for binary trees in Solution class
Introduces a new `Solution` class in the `LeetCodeNote` namespace with two static methods: `IsSymmetric` and `IsMirror`. The `IsSymmetric` method determines if a binary tree is symmetric by utilizing the `IsMirror` method, which recursively compares nodes for equality and checks their left and right subtrees. This implementation provides a structured approach to solving the symmetric tree problem.
0 commit comments