Strings - Remove Outermost Parentheses
Remove Outermost Parentheses
Problem Link:
https://leetcode.com/problems/remove-outermost-parentheses/description/
Solution:
Using Stack:
We will use the algorithm similar to find valid paranthesis:
Create a stack
Push s[0]
Declare an 'ind' variab...
nirbhaycodes.hashnode.dev2 min read