+ 1

Write a function that accepts a string of brackets and returns whether all open brackets have closed Remark: Please return <Bool

Write a function that accepts a string of brackets and returns whether all open brackets have closed Remark: Please return <Boolean> type in your code, HackerRank may interpret 'true' as 1, "false" as 0. Example Input: "(){}[]" Output: 1 Example Input: "(([{])" Output: 0

31st Dec 2021, 10:17 AM
Kriti Kumari
Kriti Kumari - avatar
4 Answers
- 4
Try your luck searching the forum using 'balanced parentheses' term. If you're an observant, you will find the way šŸ‘
31st Dec 2021, 2:52 PM
Ipang
0
11th Mar 2022, 8:09 AM
Bharati Talekar
0
Plz show me answer
1st Apr 2022, 5:51 AM
Priyanka Mane
0
Anyone send this answer plzz...?
2nd Aug 2022, 12:48 PM
Rithik S M