We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Data Structures
- Queues
- Down to Zero II
- Discussions
Down to Zero II
Down to Zero II
Sort by
recency
|
230 Discussions
|
Please Login in order to post a comment
TESTCASES ARE WRONG. DONT BE SURPRISED. e.g: for 86 expected output is 7. but my output was 8: 86->43->42->7->6->3->2->1->0.!
js
Here is my DP solution (C# code). Take a look:
I can't figure out how to fix this code. It only works for 2 tests. For the ones it fails it's usually just one more move than expected
I tried really really hard to make this code work but it doesn't. It passes only two or three test cases and fails all the rest.