For example if the parenthesis/brackets is matching in the following:
({}) (()){}() ()
and so on but if the parenthesis/brackets is not mat
Was asked to implement this algorithm at live coding interview, here's my refactored solution in C#:
Git Tests