Problem 1460 · Easy

Make Two Arrays Equal by Reversing Subarrays

Decide whether reversing subarrays can turn one array into the other. The visual compares the sorted contents and element counts of the two arrays.

Open the interactive visualisation