Valid Parentheses

Mwayen · javascript · javascript · stacks

Write solution(str) that returns true if every (, [, { in the string is properly closed and nested, false otherwise.

Tès egzanp

solution("([{}])") // => true

Soumèt

Klasman →