https://romankurnovskii.com/en/tracks/algorithms-101/leetcode/hard/1649/
1649. Create Sorted Array through Instructions