Ad
  • Custom User Avatar

    I don't support this decision
    "I just wrote all the matches in the dictionary"
    Probably the solution involved tinkering with the registers a little, but not so bluntly

  • Custom User Avatar

    Got it, didn't read the assignment carefully

  • Custom User Avatar

    Given a list of integers and a single sum value, return the first two values (parse from the left please) in order of appearance that add up to form the sum.

    The Kata specifications outline the behavior that makes your current interpretation invalid, since the paired numbers 3 and 7 appear to the right of an alternate complete pair. Try a new solution that follows that spec!

  • Custom User Avatar

    Wrong task. We are looking for the nearest two pairs. Fine. [10, 5, 2, 3, 5, 7], 10) - here is a test that all correct solutions fail. Correct answer: [3,7]