leetCode 15 - 3Sum
List without order actually could not be improved too much in most cases, let's consider sorting before doing anything. and always remember to try Two Cursors
You can find my solution on github: [ Ссылка ]
Hi I'm a JavaScript engineer who is not good at algorithms,
and currently practicing leetCode online. If you are interested, maybe we can learn together.
Ещё видео!