Skip to content

problem-solving/parenthesis-matcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

parenthesis-matcher

Write a function that given a string with parenthesis and a the position of an opening parenthesis, finds the corresponding closing parenthesis.

Example: Given the string Sometimes (when I nest them (my parentheticals) too much (like this (and this))) they get confusing. and number 10 (position of the first parenthesis), the output should be 79 (position of the last parenthesis).

About

Match the parenthesis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published