{"id":21842120,"url":"https://github.com/jypblue/leetcode-gitbook","last_synced_at":"2026-01-21T16:31:10.723Z","repository":{"id":83609484,"uuid":"65036140","full_name":"jypblue/leetcode-gitbook","owner":"jypblue","description":"javascript solution of leetcode algorithms","archived":false,"fork":false,"pushed_at":"2016-09-06T03:16:02.000Z","size":2055,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T11:24:48.266Z","etag":null,"topics":["gitbook","leetcode","leetcode-gitbook"],"latest_commit_sha":null,"homepage":"https://www.gitbook.com/book/jypblue/leetcode/details","language":null,"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/jypblue.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":"2016-08-05T17:15:41.000Z","updated_at":"2019-09-03T06:29:38.000Z","dependencies_parsed_at":"2023-07-08T20:00:15.516Z","dependency_job_id":null,"html_url":"https://github.com/jypblue/leetcode-gitbook","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/jypblue%2Fleetcode-gitbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jypblue%2Fleetcode-gitbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jypblue%2Fleetcode-gitbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jypblue%2Fleetcode-gitbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jypblue","download_url":"https://codeload.github.com/jypblue/leetcode-gitbook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244825651,"owners_count":20516592,"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":["gitbook","leetcode","leetcode-gitbook"],"created_at":"2024-11-27T22:10:14.532Z","updated_at":"2026-01-21T16:31:05.703Z","avatar_url":"https://github.com/jypblue.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 前言\n\n本书是一本使用JavaScript实现LeetCode题目的书籍。本人是前端工程师，毕业至今，因为对算法这块没有足够的重视，发现自身的职业生涯发展因此受限。于是，自己为了提升自身能力，撬开算法大门，开始上LeetCode做题目。这其中包括自己独立完成题目，当然也免不了谷歌参考了别人的代码。\n\n做题的时候，自己一边解决问题，一边查询相关理论知识。但是，中途发现之前做的一些题目回头来看又不明白了，因此想着使用gitbook来记录自己做题的思路与过程，即使以后不明白了，也能查看记录，重新搞懂。所以计划做题的同时开始写这本书：《LeetCode》。\n\n另外，LeetCode的题目解决方法可能不只一种，我也会记录下自己实现的所有方案。本书的所有代码，都经过了LeetCode官网的测试。若之后官方测试用例有改变，也会做到及时跟进修改。\n\n### 本书的组织结构\n本书原计划按照LeetCode的题型分类来组织章节的，但是为了方便查找学习，决定按目前网站算法题目的序号从低到高来进行排列说明。同时将题目的类型tag标记进去，以便能清楚知道会涉及哪类问题的知识。\n\n### 本书中将记录的内容\n- JavaScript实现算法题目\n- 算法题目分析\n- 算法题目的解题思路\n- 时间复杂度O(n)\n\n### 最后\n由于个人精力时间有限，本书将逐步完善上传。如果有不对的地方，欢迎指出；如果对你有用，欢迎star。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjypblue%2Fleetcode-gitbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjypblue%2Fleetcode-gitbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjypblue%2Fleetcode-gitbook/lists"}