Ad
  • Custom User Avatar

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

  • Custom User Avatar

    a = [[1], [2], [3]]
    b = [[1], [2], [3], [4]]
    (a & b).size # 3
    a.size # 3

    a = [[1], [2], [3]]
    b = [[1], [2], [3], [1]]
    (a & b).size # 3
    a.size # 3

    But a is not the same as b.

  • Custom User Avatar

    Technically this is a Kihon (a strike, where as a Kata is a series of movements) - but since Codewars ranks each Kata with a Kyu level and 8 Kyu is for beginners, it just uses Kata and not the term Kihon. To your point, at some point in the future it might be nice to separate the challenges out into the 2 distinct concepts, but for now there is no issue here with simplicity.

  • Custom User Avatar

    Yeah, but that's not really an issue, though.

  • Custom User Avatar

    This is VERY simple kata.
    If kata is close to katana, then this task is closer to knife)