soulmachine / leetcode

LeetCode题解,151道题完整版。
BSD 3-Clause "New" or "Revised" License
11.29k stars 3.44k forks source link

A problem about "3 Sum" #20

Closed lmscsomg closed 10 years ago

lmscsomg commented 10 years ago

I used your solution but OJ displays "TLE" ,but I think your algorithm is right and your code is elegant.

soulmachine commented 10 years ago

的确 TLE 了,以前是否可以AC了,leetcode在不断更新它的测试用例,所以随着时间推移我的代码有一些会无法AC。我会想办法修复这个代码,感谢你的提醒 :)