Ad
  • Custom User Avatar

    .

  • Custom User Avatar

    Aha - the test case is actually correct, the variables could be named better though. I've renamed false_key to key_with_falsy_value to make the intention uber crystal clear :)

    I've also added an extra sentence in the description that mentions this. Thanks for the feedback!

  • Custom User Avatar

    An empty array will only return true when the sum required is zero.
    Added an example in the description.