Ad
  • Default User Avatar

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

  • Default User Avatar

    Sorry for the long wait, I found it with the Python version

  • Default User Avatar

    There are apparently other mothers present with no children that has to be accounted for in random tests.
    If correct, this should either be mention in description or in a default test case.

  • Default User Avatar

    Given the nature of the problem (and the description), one would expect only integers as input but test cases does not take that into account.
    Several solutions here expects a string input and would fail on an actual CC number.

    How is "SF$SDfgsd2eA" a valid CC number again?.. Wouldnt it actually be a good idea to fail on that input and throw an error to be handled?