This video is included with a plan. The first three lessons of every track are free, with their boards and videos. A plan unlocks every lesson, board, video, lab and paper for one price.
Two pointers: one pass instead of two loops. Here is a sorted row of numbers, and a question. Which two of them add to sixteen? The obvious answer is two nested loops, checking every pair. That is order n squared. There is a