Ad
  • Custom User Avatar

    Good work, definitely approved.

  • Custom User Avatar
  • Custom User Avatar

    Same sentiments here

  • Custom User Avatar

    This seems to be good.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    Thank you for pointing this out. I may not be able to provide random tests for now. But I'll have it published with random test cases on the next iteration.

  • Default User Avatar

    For your request, please see ff:

    assertEquals("Jipapad, Maslog, Arteche, San Policarpo, Oras, Dolores, Can-avid, Taft, Sulat, San Julian, Borongan, Maydolong, Balangkayan, Llorente, Hernani, General MacArthur, Giporlos, Balangiga, Lawaan, Salcedo, Mercedes, Guiuan",
              routes.findRoutes(new String[][]{{"San Policarpo", "Oras"}, {"Balangiga", "Lawaan"}, {"Borongan", "Maydolong"}, {"Jipapad", "Maslog"}, {"Balangkayan", "Llorente"}, {"Mercedes", "Guiuan"}, {"Taft", "Sulat"}, {"Sulat", "San Julian"}, {"Arteche", "San Policarpo"}, {"Oras", "Dolores"}, {"Dolores", "Can-avid"}, {"Can-avid", "Taft"}, {"San Julian", "Borongan"}, {"Maydolong", "Balangkayan"}, {"Llorente", "Hernani"}, {"Hernani", "General MacArthur"}, {"General MacArthur", "Giporlos"}, {"Giporlos", "Balangiga"}, {"Lawaan", "Salcedo"}, {"Salcedo", "Mercedes"}, {"Maslog", "Arteche"}}));
    
  • Default User Avatar

    Let me know what is confusing?
    And this Kata won't be posted if the test cases are failing.

  • Default User Avatar

    This Kata should be in <4 kyu>.

  • Default User Avatar

    I already emphasized that it is only set as an Example since decalration of Array in Java differs from other Languages.

  • Default User Avatar

    This is a fun and challenging!

    I highly appreciate this kind of Kata.

  • Default User Avatar

    The ORDER of the Place(s) where route was taken.

    As set in the EXAMPLE
    the given array of routes were as follows:
    [[USA, BRA], [JPN, PHL], [BRA, UAE], [UAE, JPN]]

    The return or result should be: "USA, BRA, UAE, JPN, PHL"

  • Default User Avatar

    Thank you for your contributions.

    :D

  • Default User Avatar

    The Objective-C version had its Random Test argument - array - containing whitespace or invalid letter values specifically on the end element/node.

    e.g.:

    ['e','g','[']

    ['j','k','m','n','o','p','q','r','�']

    ['e','f','g','h','i','j','l','m','0']

    ['i','k','l','']

    On the Details, it is indicated that: "The array will always contain letters in only one case.".

  • Default User Avatar

    I'll try to create a random tests on Java, but it should also be available on other languages.

  • Loading more items...