Wrong test case for desc sequence

[ 769, 533 ] test case should result 769, 533 as there is no next number possible. But test case expect 533, 769.

Click here to start solving coding interview questions