HackerRank City

Sort by

recency

|

5 Discussions

|

  • + 0 comments

    Shitty editorial.Its better to not provide one instead

  • + 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?

  • + 0 comments

    Mum I would like to implement the first solution for N < 10 (building the whole tree). But actualy I have no idea how to build this tree step by step (which node to use to connect to the next tree?). Could you help me please? I am stuck. Thanks a lot!

  • + 0 comments

    I am not getting the formula.What is X and how it is calculated

  • + 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.

No more comments