Topic: Two Pointer Problem / Level: beginner

Problem: Check if two arrays can be merged into a sorted sequence by swapping exactly two elements using two pointers.

Run the code to see the output here...