Computer Science, asked by farwah33, 5 hours ago

Take n elements as input for sorting ,sort the array in such a way that first n/2 values is in ascending order and second half of the array is sorted in descending order.
Ex,
Input : 12,4,15,18,91,51
Output:4,12,15,91,51,18

Answers

Answered by pranav160180
0

Answer:

sorry I don't know this question bro

Explanation:

Similar questions