Python LeetCode: SameTree finished.