HackerRank City

  • + 1 comment

    in sample input 0, if A0 were 2 instead of 1, would d(3,4) (keeping same numbering as in example) have been 2 instead of 1 as well? Since the distance of the - (horizontal) part of the H doesn't have a number on it, and one might think it's 1 all the time.