Sort the elements in odd is descending & even is ascending order || Most Interview Program || Tamil.
Channel: Anand Tech-Tamil
Date: 2022-10-28

reference code is available in github:
https://github.com/anandkb153/anandkb153/blob/main/bubble%20sort
In this video tells about
Write a program to sort the elements in odd positions in descending order and even position in ascending order
            
case 1: Input: 13,2 4,15,12,10,5
        output:4 15 5 10 12 2 13 
case 2: Input: 1,2,3,4,5,6,7,8,9
        Output:1 8 3 6 5 4 7 2 9