TreeWalk opened this issue a year ago · 1 comments
在通过nums=[-3,-2,-1,0,0,1,2,3],target = 0的测试用例时报错。 错误返回的结果: 修改后的代码: 正确的结果:
return result; 改成break就好了