Ad
  • Custom User Avatar

    Play with the equation to get b in terms of a so you don't have to brute-force it. (Remember you can factor!)

  • Custom User Avatar

    "Testing for Daley Wong" gives me It should work for random inputs too - Expected: "Daley Wong likes this likes this", instead got: "Daley Wong likes this"

    Also, "Testing for Largo" gives me It should work for random inputs too - Expected: "Largo likes this likes this", instead got: "Largo likes this"

    If I test my code with [Largo likes this] I do get Largo likes this likes this. So why isn't is passing? Is this test broken or am I interpreting it wrong? (Ruby)