Solve this problem using stack: Take a string as input and check whether the parenthesis 'round brackets ()' inside the given string are balanced or not.
Example:
Input: Hello
Output: Balanced
Input: (Bye)
Output: Balanced
Input: (See you))
Output: Not Balanced
Input: (Take() care)
Output: Balanced
Input: Take care)
Output: Not balanced
Answers
Answered by
1
Answer:
s586rsdydtfkdfhytssfraqdvufd5dijsjobeije8hveivri3ii3i3
Explanation:
=_idofu89097889876r31yqdhhhujzjuuoa9999*999655t6778ûghhjei8
Similar questions