halfrost / LeetCode-Go

✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% / LeetCode 题解
https://books.halfrost.com/leetcode
MIT License
32.99k stars 5.7k forks source link

[3Sum] shorter and less variables solution #126

Closed danie1Lin closed 3 years ago

danie1Lin commented 3 years ago

Maybe you want to consider a shorter and less variables solution.