This is O(N) instead of O(N^2), so it will scale better.
In reply to Re^2: LeetCode Problem #1 - Two Sum - Improve and/or discuss.
by ikegami
in thread LeetCode Problem #1 - Two Sum - Improve and/or discuss.
by kcott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |