I remember the first time I encountered the two-pointer technique in my Data Structures class. My professor threw this problem at us: "Find two numbers in a sorted array that add up to a target." My immediate thought? "Easy! Just use two loops and ch...
igaurav.hashnode.dev8 min read
No responses yet.