Sponsored
Use these hints if you're stuck. Try solving on your own first.
Each k for which some permutation of arr[:k] is equal to sorted(arr)[:k] is where we should cut each chunk.
Solve with full IDE support and test cases