You are viewing a single comment's thread. Return to all comments →
Did it pass? I mean, it gives the correct output, but is very inefficient.
For a large n, you'd end up with a stack overflow, and the computational complexity is exponential.
Seems like cookies are disabled on this browser, please enable them to open this website
Game of Stones
You are viewing a single comment's thread. Return to all comments →
Did it pass? I mean, it gives the correct output, but is very inefficient.
For a large n, you'd end up with a stack overflow, and the computational complexity is exponential.