• + 0 comments

    The problem is simple but the description is kinda confusing and it is not mentionned to do modulo n for the index unless u see it in the example got me stuck for a while since my idx got out of range :D