Topic: Two Pointer Problem / Level: beginner

Problem: Check if two arrays can be rearranged to contain the same set of elements using two pointers.

Run the code to see the output here...