{"id":20916811,"url":"https://github.com/suanmei/leetcode-js","last_synced_at":"2026-05-13T16:32:04.179Z","repository":{"id":113549728,"uuid":"146108066","full_name":"suanmei/leetcode-js","owner":"suanmei","description":"✏️leetcode 题库答案 JavaScript 版 ( 附解题思路 )","archived":false,"fork":false,"pushed_at":"2018-09-27T21:07:22.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T16:31:06.476Z","etag":null,"topics":["javascript","leetcode","leetcode-javascript","leetcode-solutions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suanmei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-25T15:45:18.000Z","updated_at":"2019-06-11T13:17:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"57d9d9ae-f81e-4992-98a5-30ae4a619ec5","html_url":"https://github.com/suanmei/leetcode-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suanmei%2Fleetcode-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suanmei%2Fleetcode-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suanmei%2Fleetcode-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suanmei%2Fleetcode-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suanmei","download_url":"https://codeload.github.com/suanmei/leetcode-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243309912,"owners_count":20270702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","leetcode","leetcode-javascript","leetcode-solutions"],"created_at":"2024-11-18T16:26:11.664Z","updated_at":"2025-12-27T21:04:48.391Z","avatar_url":"https://github.com/suanmei.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# leetcode-js\n\n[![Build Status][travis-img]][travis-url]\n[![Coverage Status][coveralls-img]][coveralls-url]\n[![License][license-img]][license-url]\n\nleetcode 题库答案 JavaScript 版\n\n每道题目下面都放了一些解题思路，所以查看答案前可以尝试借助解题思路的引导来完成你的解答，最后再去看答案\n\n为了确保每个答案的正确性，采用了 mocha 集成测试\n\n| # | Title | Solution | Difficulty |\n| - | ----- | -------- | ---------- |\n| [1](https://leetcode.com/problems/two-sum/description/) | [两数相加](https://github.com/suanmei/leetcode-js/tree/master/algorithms/two-sum) | [JavaScript](https://github.com/suanmei/leetcode-js/blob/master/algorithms/two-sum/two-sum.js) | Easy\n\n[travis-img]: https://travis-ci.org/suanmei/leetcode-js.svg?branch=master\n[travis-url]: https://travis-ci.org/suanmei/leetcode-js\n[coveralls-img]: https://coveralls.io/repos/github/suanmei/leetcode-js/badge.svg?branch=master\n[coveralls-url]: https://coveralls.io/github/suanmei/leetcode-js?branch=master\n[license-img]: http://img.shields.io/badge/license-MIT-green.svg?style=flat-square\n[license-url]: http://opensource.org/licenses/MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuanmei%2Fleetcode-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuanmei%2Fleetcode-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuanmei%2Fleetcode-js/lists"}