Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 348 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 348 Bytes

Here would be tasks from job interviews and solutions for them if I would find beautiful one.

1. Brackets validator

Task is to write function that would validate brackets, so here some examples:

    "(()())", // valid
    "()()", // valid
    "((()())())", // valid
    ")((()", // invalid
    "())" //invalid
    "(())())" //invalid