Ad
  • Custom User Avatar

    You could think of different sets of brackets as boxes, you can put one inside the other, one next to another, but you can't have half a box inside the other. I hope that helps you.

  • Custom User Avatar

    I'm having the same issue where I feel the instructions aren't well clarified (I wrote a separate comment about it above). Could you help define it? I'm confused as to why "([{}])" would return true but "[(])" would return false

  • Custom User Avatar

    The instructions for this kata are confusing to me. I'm having trouble figuring out why "([{}])" would return true but "[(])" would return false as both cases have closing brackets that aren't next to each other but they still complete. I thought maybe the function needed to check for every type of bracket, but then there are test cases where there are only specific brackets being tested for (i.e. a test case where "[]" returns true). I would appreciate any clarity.