猿问

​请写出一个算法检测给定的字符串中括号是否匹配

请写出一个算法检测给定的字符串中括号是否匹配,整个字符串中所有出现的括号都成对出现,视为匹配

小平头violet
浏览 1891回答 0
0回答

慕数据8267187

ZCJURPSVSYZPCYYIVIFPOVVIIZPFMFARAEOOVVWZMQGZMTWORKRTLBSLLCZVPIMWQKMTCJJJOLLFSFXFPTJZWPBRLEOISCGPPVHRUORIBBMEHAXERKOUEVRRFRHRELLTMMJTCYMGJWMQPPEUQDZWQTNUUUYZSXTTMPGZJIEITZXQDILLOYFPKQDURAXXJSFCVYXXEXVIBFCCKNEAPSMKTSVFXQZGUANNTGWWKTZNKVIBVFSINETHVMCPKOOEGMMCZMJGDEZAOXHEKOBRGWGAHHZFJTXVPMGDCFBZAHRNRRRHCOHRILVSSDUREUUEYFOCCKQNJSYOBPOOIDJZPBHXNAHYBIHEBDBIVIYMZTJIWIROSPHNOYMVUDCPFCADGFZEPLVVDDXDDDJPIRNYYOYXOOROEXQRHHQRUXEXIKXFVHIVUEHUKTYVVYTMWZWMDOKHDGZSCWZNEBKCZCNRUBBPRDRLYHBRUBQTOIYLIFCCCZNNKWQYSJZFZJJMWFPCNPJTTJWPSBUXUALVIEIOOAUNCJZIIPCLZRNJIERRHBRXTERAXQNJCVMFEAQANKDIHAHNIVHNGVHAXHBEZCKARNBHNAYKKTPIJNQSLPPSCGLRSFECSAWMRABHIIOLTQZZMPUKRKRLIDTIHRNDLRXIIBRYOOHXEBKKKUQTDLAHKGJTDYOOFUYSRFCSXATTTPVBZFGQAKABKCVVDTCGJHXQEXAQYUEFLBOUPXLKVXBZMIIRRKMAQVTMIBRAIRTCYIOCMWVPYTWAAQNJCFPYXZVSZSFLBFBRNYIICCSJSWPPSHFOYULLKNOETOOBSSGTCZFSRNTPVYKHPSSCAZVBLPYLUEKVJLXUTNNKNTIBASIYEXNEUEYXMJPFLURHADUEWYBZMJWIILMFRZLVLEINKWTSGEHXYYOBLISVRNSKDAJMUOTMNWSSSYUBKOYCVREOEOKRQQZG
随时随地看视频慕课网APP
我要回答