Ad
  • Default User Avatar

    I am not worthy.... I was happy with my clunky solution, but this is just.... I feel inspired!

  • Default User Avatar

    I passed all the test cases, but when I submit I fail on the first one. Using console.log I get the input of the candidates array as:
    [ { name: 'Bob', scores: [ 10, 65 ] },
    { name: 'Bill', scores: [ 90, 5 ] },
    { name: 'Jennifer', scores: [ 55 ] } ]
    This test should fail because it has invalid input (Jennifer has only one score) according to the kata description criteria: "Please note that inputs may be invalid: in this case, the function should return false". However, it expects "Bill" as the right answer.

  • Default User Avatar

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