By now you must have realised that matching brackets get highlighted when you are coding on the console. Your next problem is based on the same thing. Given a string on brackets, can you determine if the string of brackets is balanced or not?
Can you try and solve it now? Sajan will explain in the next video about how to code the above-explained logic and solve this problem. However, we highly recommend to try and solve the problem before seeing Sajan code the solution.