Day 5: Coding Challenge
Shraddha M Thakur
Software Developer | Actively Seeking Opportunities | Computer Applications Graduate | Passionate about Product Innovation
Problem: Given a string consisting of open/closed curly braces, open/close square bracket and open/close round bracket. The input string is given and we have to check the following condition.
Solution: In this question, we will use Stack Data Structure. We will push each open bracket in the stack and pop the bracket only when the corresponding close bracket is found.