Task: Zip Sort Parallel NumPy Arrays
Task: Zip Sort Parallel NumPy Arrays: a task in Terminal-Lego-15k (Harbor dataset). Implement a Python solution that performs a "zip sort" on parallel NumPy arrays. Given two NumPy arrays of equal length, sort both arrays based on the order of elements in the first array, maintaining the…
The task
Implement a Python solution that performs a "zip sort" on parallel NumPy arrays. Given two NumPy arrays of equal length, sort both arrays based on the order of elements in the first array, maintaining the correspondence between elements at the same indices.
Part of PrimeIntellect/Terminal-Lego-15k.