Default algo that gives expected result gives a wrong answer to this custom test case
Website says expected is 8, however it is clear that expected is 7
83, 28, 26, 25, 25, 25, 25 Sum = 237
Actually, I was wrong.
I was trying to solve a different kind of problem.
Basically, everything is the same, but try to find min number of values in the array (regardless of their sequence) which sum would be greater than s.
If you try to solve that kind of problem, then out of 14 tests 12 would pass, but you'll get a wrong answer for 13th one.
Expected is 132, you'd get 80.
Test starts like that