Skip to content

mkaravaev/ex_brackets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExBrackets

This program determines if brackets in string is balanced:

A bracket is considered to be any one of the following characters: ( or ).

Two brackets are considered to be a matched pair if the opening bracket ( occurs to the left of a closing bracket ).

A matching pair of brackets is not balanced if the set of brackets it encloses are not matched. For example, )()( or ()) are not balanced.

Input Format

String containing any characters, not limited by size.

Output Format

If a string is balanced, return true. Otherwise, return false.

Accepts String and Files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages