Balanced Brackets or Balanced Parantheses Problem | HackerRank | Interview | Data Structure
Coding Cart
0:00 / 0:00
Balanced Brackets or Balanced Parantheses Problem | HackerRank | Interview | Data Structure
3 523 просмотра · 6 лет назад
Coding Cart
12,7 тыс. подписчиков
3 523 просмотра · 6 лет назад
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: jaiswalsatya93@gmail.com
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