Topic: Two Pointer Problem / Level: beginner

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

Run the code to see the output here...