You are viewing a single comment's thread. Return to all comments →
How you generate (-1+(1+8*N)**0.5)/2 this equition ??
Please help us to improve thinking to solve this type of problem in O(1) by giving some suggesion.
Thank you.
Seems like cookies are disabled on this browser, please enable them to open this website
Stepping Stones Game
You are viewing a single comment's thread. Return to all comments →
How you generate (-1+(1+8*N)**0.5)/2 this equition ??
Please help us to improve thinking to solve this type of problem in O(1) by giving some suggesion.
Thank you.