You are viewing a single comment's thread. Return to all comments →
some test cases you might find useful
5 1 2 5 8 14 4 9 4 1 5 8 14 2 12 3 5 8 14 4 9 3 1 5 6 4 9 4 1 5 6 8 4 9 3 8 10 12 4 9
and my output with an accepted solution:
4 11 4 9 4 4
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and MiniMax
You are viewing a single comment's thread. Return to all comments →
some test cases you might find useful
and my output with an accepted solution: