Sort unsorted array with restricted element access
Filed under Nutanix
The question
Given an unsorted array where direct element assignment like arr[i] = value is not allowed and you can only reverse elements from 0 to i, sort the array.
No write-up yet. Related questions below have one.
Related Nutanix questions
Collected from public candidate posts and coding forums. Updated Nov 2026.