Advertisement
07734willy

CodeGolf-ValidBrackets

Jul 12th, 2020
1,360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.44 KB | None | 0 0
  1. [
  2.     {
  3.         "input": "(([][]))[{{}[]}]\n",
  4.         "output": "VALID\n"
  5.     },
  6.     {
  7.         "input": "(({{{[[]]}}{}})\n",
  8.         "output": "INVALID\n"
  9.     },
  10.     {
  11.         "input": "([][]{{[]}[]})\n",
  12.         "output": "VALID\n"
  13.     },
  14.     {
  15.         "input": "([][[[{[()][{}[]]}](([]{}{}[[]])(({{}})))]]())\n",
  16.         "output": "VALID\n"
  17.     },
  18.     {
  19.         "input": "((())[]])\n",
  20.         "output": "INVALID\n"
  21.     }
  22. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement