For the test case [7 7 7] all of [1 7] [2 7] [3 7] should be valid responses, right? Also you don't have any test cases where the game is not winnable.
1091 Solvers
733 Solvers
Make one big string out of two smaller strings
1151 Solvers
Back to basics 12 - Input Arguments
525 Solvers
Return fibonacci sequence do not use loop and condition
219 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!