Skip to content

Checking in given string if brackets are properly opened and closed

License

Notifications You must be signed in to change notification settings

jnicram/brackets-verifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brackets-verifier

Create simple application/method, which will receive character string consist only of following characters: [, ], (, ), 0-9 (square brackets, round brackets, digits from 0 to 9).

Your application/method should return TRUE or FALSE string in console after checking if brackets are properly opened and closed. For example:

  • (([34[34]])234) - TRUE
  • ([6) - FALSE
  • ([([()])]) - TRUE
  • ([3)] - FALSE
  • (]FALSE

Prepare your application for very large entry data string (even couple millions of characters).

About

Checking in given string if brackets are properly opened and closed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages