Title: 快手算法:链表求和 · Issue #114 · sisterAn/JavaScript-Algorithms · GitHub
Open Graph Title: 快手算法:链表求和 · Issue #114 · sisterAn/JavaScript-Algorithms
X Title: 快手算法:链表求和 · Issue #114 · sisterAn/JavaScript-Algorithms
Description: 给定两个用链表表示的整数,每个节点包含一个数位。 这些数位是反向存放的,也就是个位排在链表首部。 编写函数对这两个整数求和,并用链表形式返回结果。 示例: 输入:(7 -> 1 -> 6) + (5 -> 9 -> 2),即617 + 295 输出:2 -> 1 -> 9,即912 进阶:思考一下,假设这些数位是正向存放的,又该如何解决呢? 示例: 输入:(6 -> 1 -> 7) + (2 -> 9 -> 5),即617 + 295 输出:9 -> 1 -> 2,即9...
Open Graph Description: 给定两个用链表表示的整数,每个节点包含一个数位。 这些数位是反向存放的,也就是个位排在链表首部。 编写函数对这两个整数求和,并用链表形式返回结果。 示例: 输入:(7 -> 1 -> 6) + (5 -> 9 -> 2),即617 + 295 输出:2 -> 1 -> 9,即912 进阶:思考一下,假设这些数位是正向存放的,又该如何解决呢? 示例: 输入:(6 -> 1 -> 7) + (2...
X Description: 给定两个用链表表示的整数,每个节点包含一个数位。 这些数位是反向存放的,也就是个位排在链表首部。 编写函数对这两个整数求和,并用链表形式返回结果。 示例: 输入:(7 -> 1 -> 6) + (5 -> 9 -> 2),即617 + 295 输出:2 -> 1 -> 9,即912 进阶:思考一下,假设这些数位是正向存放的,又该如何解决呢? 示例: 输入:...
Opengraph URL: https://github.com/sisterAn/JavaScript-Algorithms/issues/114
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"快手算法:链表求和","articleBody":"给定两个用链表表示的整数,每个节点包含一个数位。\r\n\r\n这些数位是反向存放的,也就是个位排在链表首部。\r\n\r\n编写函数对这两个整数求和,并用链表形式返回结果。\r\n\r\n**示例:**\r\n\r\n```js\r\n输入:(7 -\u003e 1 -\u003e 6) + (5 -\u003e 9 -\u003e 2),即617 + 295\r\n输出:2 -\u003e 1 -\u003e 9,即912\r\n进阶:思考一下,假设这些数位是正向存放的,又该如何解决呢?\r\n```\r\n\r\n**示例:**\r\n\r\n```js\r\n输入:(6 -\u003e 1 -\u003e 7) + (2 -\u003e 9 -\u003e 5),即617 + 295\r\n输出:9 -\u003e 1 -\u003e 2,即912\r\n```\r\n\r\n[leetcode](https://leetcode-cn.com/problems/sum-lists-lcci)","author":{"url":"https://github.com/sisterAn","@type":"Person","name":"sisterAn"},"datePublished":"2020-09-28T23:55:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/114/JavaScript-Algorithms/issues/114"}
| 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:4b0689c4-d3ad-4db6-c2d5-bf474a2039d3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A32:258BE8:1329BF:19D83F:696AA078 |
| html-safe-nonce | fc28091270db77a033f0f110ba19505e5c6f635c8a6cf3045772a0ed22b9ba05 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTMyOjI1OEJFODoxMzI5QkY6MTlEODNGOjY5NkFBMDc4IiwidmlzaXRvcl9pZCI6Ijg0NTI5MDcwNzY2ODg3MTU4OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8e8365d51146f32a03bd98d2c45405f2f8469772269f77adecdcff00d1012a1d |
| hovercard-subject-tag | issue:710650646 |
| 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/114/issue_layout |
| twitter:image | https://opengraph.githubassets.com/746af05f1d8c3b61fbc6953ce79d040539b950b5cf43741b84151e0c8b8f2e4c/sisterAn/JavaScript-Algorithms/issues/114 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/746af05f1d8c3b61fbc6953ce79d040539b950b5cf43741b84151e0c8b8f2e4c/sisterAn/JavaScript-Algorithms/issues/114 |
| og:image:alt | 给定两个用链表表示的整数,每个节点包含一个数位。 这些数位是反向存放的,也就是个位排在链表首部。 编写函数对这两个整数求和,并用链表形式返回结果。 示例: 输入:(7 -> 1 -> 6) + (5 -> 9 -> 2),即617 + 295 输出:2 -> 1 -> 9,即912 进阶:思考一下,假设这些数位是正向存放的,又该如何解决呢? 示例: 输入:(6 -> 1 -> 7) + (2... |
| 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