Find Intersection of Sorted Arrays
Two Pointers: Compare elements at i and j
β’ If A[i] == B[j]: Found match! Add to result, advance both
β’ If A[i] < B[j]: Advance i (A[i] can't match anything)
β’ If A[i] > B[j]: Advance j
Time: O(n + m)
O(n + m)