Ad
  • Custom User Avatar

    I could spend some time printing all the input in the test cases.

    On the other hand, it's easy enough to print the input yourself:

      console.log(s, part1, part2); // JavaScript
      System.out.println(s + "," + part1 + "," + part2); // Java
      (println s part_1 part_2)  Clojure
    

    The three parameters in the bananas case are:

    "Bananas from Bahamas", "Bahas", "Bananas from am"