Given a numeric string S made up of characters ‘1’, ‘2’ and ‘3’ only, the task is to replace characters with either an open bracket… Read More
The post Modify a numeric string to a balanced parentheses by replacements appeared first on GeeksforGeeks.