Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT arr = [ 7 , 6 , 8 , 9 , 0 , 1 , 2 , 2 , 1 , 8 , 9 , 6 , 7 ] NEW_LINE N = len ( arr ) NEW_LINE K = 6 NEW_LINE sortArrayInDescAsc ( arr , N , K ) NEW_LINE DEDENT