题目: Please give a function to check matching pairs of braces, parenthese and brackets
function isMatchingPair(str) {
// your code here
}
isMatchingPair('(str[x)xx]') // return false
isMatchingPair('({[str]})') // return true
至尊宝的传说
守候你守候我
随时随地看视频慕课网APP
相关分类