Skip to content
Advertisement

Tag: braces

Valid Braces – CodeWars Challenge

There is a challenge on codewars that asks you to check whether a string of parentheses, brackets, and curly braces is valid. A string of braces is considered valid if all braces are matched with the correct brace. I.e. “()” is valid and “[(])” is not. “(){}[]” is valid and “[({})](]” is not. Etc. I’ve been able to create some

Advertisement