Title: leetcode19:删除链表倒数第 n 个结点 · Issue #16 · sisterAn/JavaScript-Algorithms · GitHub
Open Graph Title: leetcode19:删除链表倒数第 n 个结点 · Issue #16 · sisterAn/JavaScript-Algorithms
X Title: leetcode19:删除链表倒数第 n 个结点 · Issue #16 · sisterAn/JavaScript-Algorithms
Description: 给定一个链表,删除链表的倒数第 n 个节点,并且返回链表的头结点。 示例: 给定一个链表: 1->2->3->4->5, 和 n = 2. 当删除了倒数第二个节点后,链表变为 1->2->3->5. 说明: 给定的 n 保证是有效的。 进阶: 你能尝试使用一趟扫描实现吗? 附leetcode地址:leetcode
Open Graph Description: 给定一个链表,删除链表的倒数第 n 个节点,并且返回链表的头结点。 示例: 给定一个链表: 1->2->3->4->5, 和 n = 2. 当删除了倒数第二个节点后,链表变为 1->2->3->5. 说明: 给定的 n 保证是有效的。 进阶: 你能尝试使用一趟扫描实现吗? 附leetcode地址:leetcode
X Description: 给定一个链表,删除链表的倒数第 n 个节点,并且返回链表的头结点。 示例: 给定一个链表: 1->2->3->4->5, 和 n = 2. 当删除了倒数第二个节点后,链表变为 1->2->3->5. 说明: 给定的 n 保证是有效的。 进阶: 你能尝试使用一趟扫描实现吗? 附leetcode地址:leetcode
Opengraph URL: https://github.com/sisterAn/JavaScript-Algorithms/issues/16
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"leetcode19:删除链表倒数第 n 个结点","articleBody":"给定一个链表,删除链表的倒数第 n 个节点,并且返回链表的头结点。\r\n\r\n**示例:**\r\n\r\n```js\r\n给定一个链表: 1-\u003e2-\u003e3-\u003e4-\u003e5, 和 n = 2.\r\n当删除了倒数第二个节点后,链表变为 1-\u003e2-\u003e3-\u003e5.\r\n```\r\n\r\n**说明:**\r\n\r\n给定的 n 保证是有效的。\r\n\r\n**进阶:**\r\n\r\n你能尝试使用一趟扫描实现吗?\r\n\r\n附leetcode地址:[leetcode](https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/solution/javascriptshan-chu-lian-biao-dao-shu-di-n-ge-jie-d/)\r\n","author":{"url":"https://github.com/sisterAn","@type":"Person","name":"sisterAn"},"datePublished":"2020-04-13T13:49:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/16/JavaScript-Algorithms/issues/16"}
| 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:9423ed65-10ed-067d-ff74-503c2851a19c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC78:9F9DA:17AB616:20967C2:696AA048 |
| html-safe-nonce | d6eecd0f55131bf28ac84e59f95d13866899a711d637ed4d61932b2b7bd78390 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzc4OjlGOURBOjE3QUI2MTY6MjA5NjdDMjo2OTZBQTA0OCIsInZpc2l0b3JfaWQiOiIxMjgxNzE3MjQxODkxMTY4MzI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 99ece3052bcb311bb44d32aa240d7b64097f66a7e70e0e8e2154b114087be627 |
| hovercard-subject-tag | issue:598900497 |
| 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/16/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4aecfd7330101f792665812e91a066757277b2a5e29214c5559267dc5a24ddd8/sisterAn/JavaScript-Algorithms/issues/16 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4aecfd7330101f792665812e91a066757277b2a5e29214c5559267dc5a24ddd8/sisterAn/JavaScript-Algorithms/issues/16 |
| og:image:alt | 给定一个链表,删除链表的倒数第 n 个节点,并且返回链表的头结点。 示例: 给定一个链表: 1->2->3->4->5, 和 n = 2. 当删除了倒数第二个节点后,链表变为 1->2->3->5. 说明: 给定的 n 保证是有效的。 进阶: 你能尝试使用一趟扫描实现吗? 附leetcode地址:leetcode |
| 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 | a51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261 |
| 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 | 4bd0eac606c70914085176ef312ebdcd97a8cdf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width