kdn251 / interviews

Everything you need to know to get the job.
https://www.youtube.com/channel/UCKvwPt6BifPP54yzH99ff1g?view_as=subscriber
MIT License
63.67k stars 12.91k forks source link

Bug in google/3sumsmaller #154

Open kunacanonical opened 4 years ago

kunacanonical commented 4 years ago

I think the implementation forget to remove duplicates.

consider following test cases:

your output is 5, 13, 4 for these cases