changgyhub / leetcode_101

LeetCode 101:力扣刷题指南
8.57k stars 1.16k forks source link

第437题已经通不过最新的test cases了 #67

Closed xnervwang closed 2 years ago

xnervwang commented 2 years ago

pathSumStartWithRoot的sum会溢出,要改成long类型。

changgyhub commented 2 years ago

感谢!下版本即更正。