Title: 图解腾讯&哔哩哔哩&leetcode20:有效的括号 · Issue #25 · sisterAn/JavaScript-Algorithms · GitHub
Open Graph Title: 图解腾讯&哔哩哔哩&leetcode20:有效的括号 · Issue #25 · sisterAn/JavaScript-Algorithms
X Title: 图解腾讯&哔哩哔哩&leetcode20:有效的括号 · Issue #25 · sisterAn/JavaScript-Algorithms
Description: 给定一个只包括 '(' ,')' ,'{' ,'}' ,'[' ,']' 的字符串,判断字符串是否有效。 有效字符串需满足: 左括号必须用相同类型的右括号闭合。 左括号必须以正确的顺序闭合。 注意空字符串可被认为是有效字符串。 示例 1: 输入: "()" 输出: true 示例 2: 输入: "()[]{}" 输出: true 示例 3: 输入: "(]" 输出: false 示例 4: 输入: "([)]" 输出: false 示例 5: 输入: "{[]}" 输出...
Open Graph Description: 给定一个只包括 '(' ,')' ,'{' ,'}' ,'[' ,']' 的字符串,判断字符串是否有效。 有效字符串需满足: 左括号必须用相同类型的右括号闭合。 左括号必须以正确的顺序闭合。 注意空字符串可被认为是有效字符串。 示例 1: 输入: "()" 输出: true 示例 2: 输入: "()[]{}" 输出: true 示例 3: 输入: "(]" 输出: false 示例 4: ...
X Description: 给定一个只包括 '(' ,')' ,'{' ,'}' ,'[' ,']' 的字符串,判断字符串是否有效。 有效字符串需满足: 左括号必须用相同类型的右括号闭合。 左括号必须以正确的顺序闭合。 注意空字符串可被认为是有效字符串。 示例 1: 输入: "()" 输出: true 示...
Opengraph URL: https://github.com/sisterAn/JavaScript-Algorithms/issues/25
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"图解腾讯\u0026哔哩哔哩\u0026leetcode20:有效的括号","articleBody":"给定一个只包括 `'('` ,`')'` ,`'{'` ,`'}'` ,`'['` ,`']'` 的字符串,判断字符串是否有效。\r\n\r\n有效字符串需满足:\r\n\r\n- 左括号必须用相同类型的右括号闭合。\r\n- 左括号必须以正确的顺序闭合。\r\n\r\n注意空字符串可被认为是有效字符串。\r\n\r\n**示例 1:**\r\n\r\n```js\r\n输入: \"()\"\r\n输出: true\r\n```\r\n\r\n**示例 2:**\r\n\r\n```js\r\n输入: \"()[]{}\"\r\n输出: true\r\n```\r\n\r\n**示例 3:**\r\n\r\n```js\r\n输入: \"(]\"\r\n输出: false\r\n```\r\n\r\n**示例 4:**\r\n\r\n```js\r\n输入: \"([)]\"\r\n输出: false\r\n```\r\n\r\n**示例 5:**\r\n\r\n```js\r\n输入: \"{[]}\"\r\n输出: true\r\n```\r\n附赠leetcode:[leetcode](https://leetcode-cn.com/problems/valid-parentheses/solution/teng-xun-leetcode20you-xiao-de-gua-hao-by-user7746/)","author":{"url":"https://github.com/sisterAn","@type":"Person","name":"sisterAn"},"datePublished":"2020-04-22T14:58:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/25/JavaScript-Algorithms/issues/25"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1753c199-dde9-5510-0197-26ee99ab3aa6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF46:E8423:2B3E5F0:390928E:696B2F23 |
| html-safe-nonce | cbcb4478c6f2205c52c64dc95e8f3ad95d5dae4764eb5f81ebdd274029fe9703 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjQ2OkU4NDIzOjJCM0U1RjA6MzkwOTI4RTo2OTZCMkYyMyIsInZpc2l0b3JfaWQiOiI3NTM5MjQ0NDYwNTQxNjg1NTM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6b02676e15243677c4cc93065badd8f9a2a67fafb40cd0ec359cf92f244ce939 |
| hovercard-subject-tag | issue:604826576 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sisterAn/JavaScript-Algorithms/25/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dddc77bac15c514af96223d1fb56c37aee96b2d8c1321867b55ac04eabd6b0cc/sisterAn/JavaScript-Algorithms/issues/25 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dddc77bac15c514af96223d1fb56c37aee96b2d8c1321867b55ac04eabd6b0cc/sisterAn/JavaScript-Algorithms/issues/25 |
| og:image:alt | 给定一个只包括 '(' ,')' ,'{' ,'}' ,'[' ,']' 的字符串,判断字符串是否有效。 有效字符串需满足: 左括号必须用相同类型的右括号闭合。 左括号必须以正确的顺序闭合。 注意空字符串可被认为是有效字符串。 示例 1: 输入: "()" 输出: true 示例 2: 输入: "()[]{}" 输出: true 示例 3: 输入: "(]" 输出: false 示例 4: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sisterAn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/sisterAn/JavaScript-Algorithms git https://github.com/sisterAn/JavaScript-Algorithms.git |
| octolytics-dimension-user_id | 19721451 |
| octolytics-dimension-user_login | sisterAn |
| octolytics-dimension-repository_id | 252061924 |
| octolytics-dimension-repository_nwo | sisterAn/JavaScript-Algorithms |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 252061924 |
| octolytics-dimension-repository_network_root_nwo | sisterAn/JavaScript-Algorithms |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width