Balanced Brackets or Balanced Parantheses Problem | HackerRank | Interview | Data Structure

Опубликовано: 18 June 2026
на канале: Coding Cart
3,512
65

This video is about HackerRank Balanced Bracket problem.
A bracket is considered to be any one of the following characters: (, ), {, }, [, or ].
Two brackets are considered to be a matched pair if the an opening bracket (i.e., (, [, or {) occurs to the left of a closing bracket (i.e., ), ], or }) of the exact same type. There are three types of matched pairs of brackets: [], {}, and ().
A matching pair of brackets is not balanced if the set of brackets it encloses are not matched. For example, {[(])} is not balanced because the contents in between { and } are not balanced. The pair of square brackets encloses a single, unbalanced opening bracket, (, and the pair of parentheses encloses a single, unbalanced closing square bracket, ].


Problem: https://www.hackerrank.com/challenges...

sample code:https://www.coderscart.com/balanced-b...

For 1 : 1 Tutoring
WhatsApp contact : 7278222619
mail: [email protected]

You can support via UPI : sattujaiswal@okhdfcbank
Follow us on:
Whatsapp:
https://chat.whatsapp.com/LNwHGukUizj...

Facebook:
  / codingcart  


Linkedin:
  / satyendra-jaiswal-903588a2  
  / codingcart  

Instagram:
  / codingcart  

#HackerRank #Interview #Data_Structure