
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) =
I do DSA in java and a MERN-stack developer. I am lazy so I create RESTful APIs.
Markdown supported · ⌘↵ to post
No responses yet.