Solution1 Traverse

遍历一遍,记录叶子节点的值然后比较

Last updated