Ad
  • Custom User Avatar

    The prompt is unclear and way too verbose. It can really be described in one or two sentences, not the wall of text that it is:

    Create a function comp(a, b) [compSame(a, b) in Clojure] that checks if the values in array a are each of the square roots of the values in array b (or vice-versa). Please be careful since this function can also accept null values for parameters, and negative numbers are also square roots.

    The way it is written is very hard to follow, I had to rewrite my code twice because I did not know they had to MATCH exactly by length. I just thought that b had to contain the squares of a at least once.

  • Custom User Avatar

    "...remember that you can access the preloaded Morse code table through MorseCode.get(code)"

    This should say what it says WAY at the bottom of the dishonest description I got tired of reading:

    "...codes can be decoded using the MorseCode.get() function. For example, MorseCode.get('.--')"

  • Custom User Avatar

    The description is WAY too long.

  • Custom User Avatar

    You put up a Wikipedia link to SOS where it clearly states "The first ship to transmit an SOS distress call appears to have been either the Cunard liner RMS Slavonia on June 10, 1909, according to "Notable Achievements of Wireless" in the September, 1910 Modern Electrics, or the steamer SS Arapahoe on August 11, 1909." and then you claim that the first use of SOS was the Titanic. Give me a break.

  • Custom User Avatar

    "import java.util.*;" ...What a great kata creator.

  • Custom User Avatar

    "Hello sorry for the late replay but usually setup doesn't include all the tools needed to complete the exercise."

    BS! Your setup doesn't even include the tools to set it up!

  • Custom User Avatar

    Java tests are still the same problem they were a month ago.

    Also, the test cases are all bunched together into 1 test instead of being separate tests.

  • Custom User Avatar

    This prompt sucked. Let me code not decipher Dr. Soose.

  • Custom User Avatar

    This may have worked in the tests but is incorrect. Try this code with "(123) 456-789999999999", for example.

    It will only check the number until the first 9, and then pass it on to your calling software which will put in all the 9s. Imagine if a malevolent actor put in 911 at the end. (This could be another test throughout.)

  • Custom User Avatar

    Clever, but certainly does not work. One could easily include a number of series whose unique numbers add up to 45 but are not valid sudoku wins. For example 2, 2, 9, 9, 6, 1, 8, 14, 5 or 0, 0, 0, 0, 0, 0, 0, 45. These tests should have been included. This is excellent refactoring, but not excellent code.

  • Custom User Avatar

    Only expects the first 2 out of an array of 3 for unknown reasons on some but not all occasions. Rewrote my code to "pass" the tests only to find out it wants 2 different ways...

    Testig for Sylia Stingray, Macky Stingray, Linna Yamazaki
    It should work for random inputs too - Expected: "Sylia Stingray and Macky Stingray like this", instead got: "Sylia Stingray, Macky Stingray and Linna Yamazaki like this"

    Testig for Priscilla S. Asagiri, Sylvie, Anri
    It should work for random inputs too - Expected: "Priscilla S. Asagiri and Sylvie like this", instead got: "Priscilla S. Asagiri, Sylvie and Anri like this"

    "Testig" and constantly wrong expects for groups of 3. I don't know how this is even allowed in public.

  • Custom User Avatar

    I don't see how this works with 1 name since you are always including the &

  • Custom User Avatar

    I can't figure out the last testcase in Ruby, especially still getting the first 2 right.

    rwy = 360 - rwy.to_i * 10 = 140
    windDirection = 160
    windSpeed = 15
    Expected: "Headwind 7 knots. Crosswind 12 knots from your left.", instead got: "Headwind 13 knots. Crosswind 5 knots from your right."

    Looking at it off-hand, the wind is coming in at a +20 degree angle. That should already mean that the wind is coming from the right. Also, 20 degrees is very close to the front of the plane and the magnitude of the headwind should be >> than the crosswind.