Search
⌘K

Leetcode 1460. Make Two Arrays Equal by Reversing Subarrays

Determine whether you can transform arr into target by reversing any non-empty subarrays any number of times — equivalently, check if target and arr contain the same multiset of elements.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.