Ad
  • Custom User Avatar

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

  • Custom User Avatar

    The solution window for python doesn't have what function we are supposed to use. It just has this ‘PATTERN = re.compile(r’’)’ which isn’t a format I’ve ever seen on codewars before. Also, this seems way too easy to be a 4 kyu.

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    It was Python. Thx. Will do in the future.

  • Custom User Avatar

    The test cases don't follow the rules of the Kata. '$5' has no letters so should return True. The test says it should return False. Same for '.'

  • Custom User Avatar

    Also, and this has been driving me crazy, but why does the code as written return 4 as a prime number, but record the rest the primes perfectly?

  • Custom User Avatar

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

  • Custom User Avatar

    This isn't really a coding problem; it's just a calculus problem.

  • Custom User Avatar

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

  • Custom User Avatar

    Are we only allowed solution sets with 2 or more dice? Speaking of, I can solve this puzzle pretty easily for equivalent sets of two or three or any definite number, but I'm having trouble coming up with a solution for writing a recursive algorithm when the number of dice is undefined. Can anyone provide help on resources for how to write a recursive algorithm for this sort of thing? Probably too vague a question.

  • Custom User Avatar

    Am I missing something? The test cases list [3, 3] as having no equivalent dice paterns, but wouldn't [9] also have 9 outcomes?

  • Custom User Avatar

    I'm getting "'))))' should equal '))(('", but shouldn't "'))))' should equal '))))'?"

    Also, can someone give me a hint as to why my code is working for words, with caps or no, but not for punctuation? It works fine for "Mississippi", but not "(( @".

  • Custom User Avatar

    My code is pretty simple and it passes sample tests in about 600ms. When I try to send it to the servers though it times out at 12,000ms. What gives?

  • Custom User Avatar
  • Loading more items...