• + 1 comment

    Nice optimization. I've updated my solution using your suggestion.

    HackerRank solutions.