Computer Science, asked by fariaslam20006, 5 hours ago

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 sameehabohra
1

Answer:

s586rsdydtfkdfhytssfraqdvufd5dijsjobeije8hveivri3ii3i3

Explanation:

=_idofu89097889876r31yqdhhhujzjuuoa9999*999655t6778ûghhjei8

Similar questions