Skip to content

Commit

Permalink
readm inc
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Mat committed May 9, 2018
1 parent b882a32 commit 829d69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -5,7 +5,7 @@ Insert the brackets in the input field and submit it to itself ($_GET) to check

## Logic

Is very simples, just count opening and closing brackets, if the number of close and opening brackets dont fit PHP throw an invalid message
Is very simples, just count opening and closing brackets, if the number of close and opening brackets dont fit PHP throw an invalid message. It has an special case scenario, not contempled by examples below, it must check position for first ocurrencies of opening brackets (dont need to be recursive), they must come first than closet bracket.

Examples:
* (){}[] is valid
Expand Down

0 comments on commit 829d69a

Please sign in to comment.