Retired

Verify three kinds (), [], <> of nested parentheses (retired)

Description
Loading description...
Fundamentals
Algorithms
Logic
Validation
Strings
Data Types
  • Please sign in or sign up to leave a comment.
  • FArekkusu Avatar

    No sample tests.

  • FArekkusu Avatar

    The fixed tests are too weak. You can successfully return 1 as long as you don't encounter wrong closing parenthesis/bracket.

  • FArekkusu Avatar

    No random tests.

  • Unnamed Avatar
    • dandgerson Avatar

      It similar, but:

      • introduces new characters: <>
      • requires another values to the output
      • have another passed text (not only parentheses, but full text)
      • need verify only three types of parentheses
    • suic Avatar

      It's too similar:

      • <> don't make enough difference. I solved both with almost the same code.
      • replacing false with 0 and true with 1 is trivial (btw. in Python False == 0 and True == 1 so in a Python translation this wouldn't make any difference).
      • It doesn't matter.
      • How many types of parentheses do you need to verify in the other kata? Suprisingly, 3.

      If you argue against kata being a duplicate try to have valid points :)

      Regards,

      suic