you are given an array Arrthat contains N integers. In one step,you can pick an element from position pand place it before or after some other elements.for example if ur given an array Arr[]={1,3,2}.then you can pick 3 place it after 2.
there fore updated array is Arr[]={1,2,3}.
your task is to determine the minimum number of steps that is required to sort the data in incereasing order or decresing order
Answers
Answered by
0
Answer:
i dont no sorry.pls keep me as a brillent if you like my previoes
Similar questions