• + 3 comments

    Hi. I added a detailed answer to your question in my original post. Hopefully it helps, it was tough to explain.

    HackerRank solutions.

    • + 0 comments

      Awesome that definitely helped a lot! Thank you so much! :D

    • + 2 comments

      you are a great thinker rshaghoulian sir....Proud of you how to think like you... guide me

      • + 2 comments

        Hi. Thank you. Just keep coding and solving problems on HackerRank and you will steadily improve. Being active on the discussion forums is also a great learning experience. Best of luck.

        • + 0 comments

          I know this is kinda late, but holy, that is some genius work right here.

        • + 0 comments

          Lots of thanks for spending sooo much time and efforts to help us!

      • + 0 comments

        His thinking is his own skill/achievement, Why you are proud of him or his achievement???

    • [deleted]
      + 1 comment

      Thanks for the amazing explanation!