Skip to content

tolgaduzenli/AlgorithmPractise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AlgorithmPractise

This project contains different algorithm problems and solutions. All codes are developing according to Robert C. Martin's 'Clean Code' book and I am doing refactor time to time based on Martin Fowler's 'Refactoring' book rules. If you have any suggestion or question, please feel free to put comment or pull request.

General information about the problems;

#Well format Parenthesis
This question is from Cracking the code interview pdf. I modified that problem a little bit.
Input can contains any character or it could be empty, null, space etc.
if first parenthesis is right one like ')', '}', ']', this string doesnt well formatted.
For extended version of this problem, allowed characters can be different than parenthesis.
For example; '<' , '>' this characters can be in allowed character. For this situation, only we need to add
new characters in wellFormatParenthesis map and allowedCharacters list.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages