+ 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
4 ответов
- 4
Try your luck searching the forum using 'balanced parentheses' term. If you're an observant, you will find the way 👍
0
0
Plz show me answer
0
Anyone send this answer plzz...?