brunoquerino / balanced-brackets Goto Github PK
View Code? Open in Web Editor NEWFunction that takes a string of brackets as the input, and determines if the order of the brackets is valid. A bracket is considered to be any one of the following characters: (, ), {, }, [, or ]