Why runtime error?


Why am i getting runtime error?

@Jatin-Arora-2232866133621749
you cannot create a array of ~1e8, please try to optimise the memory to O(1) .
by storing the last and second last state and updating them.

Oops. Didn’t see that… Thanks ; - )