Ad
  • Custom User Avatar

    Nice kata. Thanks author. It's funny for my that my solution has four nested loops))

  • Custom User Avatar

    Approved

  • Custom User Avatar

    python new test framework is required. updated in this fork

  • Default User Avatar

    As a general rule, links to other sites that form a part of the problem specification should be avoided - you have no control over whether that content will continue to exist tomorrow, next week, or next year, etc. If it disappears, it will be difficult to see what the Kata is asking for. Less important, I personally find it frustrating to have to look up relevant content in another page - the description should contain everything needed to actually solve the problem.

    Suggest copying the image into the Kata description, or giving a (more permanent) text description of the mapping.

  • Custom User Avatar

    I enjoyed this kata. However the description says nothing about ordering the output list (or possible duplicates in it). That's ok in Python since tests compare sets, but in JS the list has to be sorted alphabetically to be valid (and, I guess though I did not check it, mustn't include duplicates). This should be clearly stated in the description, and preferentially should the requirements of distinct languages be uniformized.

  • Custom User Avatar

    done

  • Custom User Avatar

    The function name should be in the snake_case in Python.

  • Custom User Avatar

    Please follow language conventions, e.g. for Python use snake_case (see PEP 8).

  • Default User Avatar

    Thanks for this update!

  • Custom User Avatar

    Hi,
    For some reason I did not get see notifications the past month about recent activity on this kata.
    Thanks for your observations, I've updated the description so the letter case and mapping exceptions are clear. You made a good point about the arbitrary mapping of 0 and 1. I will update it in the next version to be more useful to the puzzle, should probably also make sure the update does not invalidate existing solutions.

    Thanks!

  • Default User Avatar

    Firstly, you must precise that all letters will be in uppercase. The link you provide gives lowercase letters.
    Secondly, the true problem is what to map to 0 and 1 keys: whitespace and nothing? Why mapping them to 0 and 1 digits when you don't map any of the other keys to their corresponding digits (aka. 23456789)?

    Can you explicit what correct mapping is in the description please?

  • Custom User Avatar
  • Custom User Avatar

    Merged! Cool solution btw :)

  • Custom User Avatar
  • Custom User Avatar

    Awesome, they look great! :)

  • Loading more items...