Stepping Stones Game

  • + 1 comment

    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.