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.
Decide whether reversing subarrays can turn one array into the other. The visual compares the sorted contents and element counts of the two arrays.