Rearranging the existing data according to our new requirements is called ________
Answers
Answered by
0
Answer:
Input: arr[] = [10, 11, 12];
index[] = [1, 0, 2];
Output: arr[] = [11, 10, 12]
index[] = [0, 1, 2]
Input: arr[] = [50, 40, 70, 60, 90]
index[] = [3, 0, 4, 1, 2]
Output: arr[] = [40, 60, 90, 50, 70]
index[] = [0, 1, 2, 3, 4]
Answered by
0
Answer:
ieyluuxusudyduldoyeduodudjlvmfouruku mhmco6d6oyotwste
Similar questions