Nikita and the Game

  • + 0 comments

    Why does the editorial use dp when the problem does not have any overlapping substructure. My non-dp solution passed easily.