← All problemsSign in

Mind Bot

Mind Bot is a robot which analysis the correctness of an expression. An expression which can contain '{' , '(' , '[' braces. As mind bot is on leave , you have to provide a solution to check if the given expression is balanced or not balanced . Note: Don't worry about the arithmetic operators. Input First line contains the number of test cases T. Following T lines has strings S. Output For

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start