diff --git a/Check redundant brackets.cpp b/Check redundant brackets.cpp new file mode 100644 index 0000000..07c102a --- /dev/null +++ b/Check redundant brackets.cpp @@ -0,0 +1,27 @@ +#include +bool checkRedundantBrackets(string a) { + stack s; + for(int i=0; i