Two Pointer Array Problems Geeksforgeeks Interview Question