Road Repairing

Sort by

recency

|

3 Discussions

|

  • + 0 comments

    This is my solution in java: https://github.com/AmitRoy3370/HackerRank/blob/master/Road%20Repairing

  • + 0 comments

    Detailed video solution and code walkthrough in english. Question and the approach to solve are also discussed. Make sure to check it out. https://www.youtube.com/watch?v=NY4LKv4eT48&feature=youtu.be

  • + 1 comment

    There seems to be issue with testcases.

    Example testcase 3:

    7 8 2 6 4 5 1 7 2 4 4 7 1 1 1 2 7 7 1 1 6

    In this all cities are connected to each other. No need to repair any roads. But still answer is 1 instead of 0. Moderators, please fix this.

No more comments