Andre Ye·Follow1 min read·Aug 15, 2020--ListenShareYou’re right — many problems that use two-pointer technique that can solve tasks in O(n) time are actually limited by the O(n log n) time to sort. I neglected to mention that but have added it — thanks for pointing out.