Input: [3, 4, 7, 1, 2, 9, 8]
Output: [0, 2, 3, 5]
output can also contain [0,2,4,6]
Why not [0,2,4,6] given example
answer should be a lexicographical tuple if more than one tuple exists .
so [0,2,3,5];
answer should be a lexicographical tuple if more than one tuple exists .
so [0,2,3,5];