It works, so thank you!. Why is rev = true (reverse sorting is performed)? If I make it false, the answer doesn’t make sense. Say the answer with rev = true is 4,2. I would expect the answer when rev = false to be 2,4 but the answer is 6, 5.
It works, so thank you!. Why is rev = true (reverse sorting is performed)? If I make it false, the answer doesn’t make sense. Say the answer with rev = true is 4,2. I would expect the answer when rev = false to be 2,4 but the answer is 6, 5.