Intersection Of Two Sorted Array Leetcode Problems On Loops