same_tree.py 96 B

12
  1. class Solution:
  2. def isSameTree(self, p: Optional[TreeNode], q: Optional[TreeNode]) -> bool: