HackerRank City

  • + 0 comments

    Could someone please explain the formula used to solve this problem? Is it a well known problem in academia? How did everyone know the exact method of solving this?