Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

validateBrackets

Given a string containing only (, ), {, }, [ and ], determine if the given string is valid.

A string is valid if it is closed by the same type of brackets and closed in correct order.

Examples

  • input () returns true
  • input (){}[] returns true
  • input (} returns false
  • input ({)} returns false
  • input {[]} return true

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages