Link to Problem and LeetCode's Solution. Intuition We have to find number of extra brackets that would be required. if (() -> at last 1 bracket would be added => +1 if ((())A -> at we need (A) => +2 brackets if ((( -> we need 3 brackets i.e length...
abhishek.me3 min read
No responses yet.