- Greedy, Parentheses-Problems, Searching, Strings

Modify a numeric string to a balanced parentheses by replacements

#include using namespace std;void balBracketSequence(string str){    int n = str.size();            if (str[0]        == str[n – 1])    {        cout