nemanjapetrovic / bracket-checker

Math expression brackets checker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Math expression brackets checker { ( [ ) ] }

This is example of algorithm that can be used for checking math expression brackets. It uses Stack as data structure for expression validation. In math expression every opened bracket must have it's closed one.

Example of valid expression

Imgur

Example of invalid expression

Imgur

About

Math expression brackets checker

License:MIT License


Languages

Language:C++ 100.0%