{"id":20200786,"url":"https://github.com/yifanzheng/leetcode-java","last_synced_at":"2026-03-19T14:31:18.543Z","repository":{"id":108435777,"uuid":"346203725","full_name":"yifanzheng/leetcode-java","owner":"yifanzheng","description":"数据结构与算法学习","archived":false,"fork":false,"pushed_at":"2022-04-11T13:01:45.000Z","size":11,"stargazers_count":3,"open_issues_count":15,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-03T08:45:42.731Z","etag":null,"topics":["leetcode"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yifanzheng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-03-10T02:12:17.000Z","updated_at":"2024-03-16T07:52:58.000Z","dependencies_parsed_at":"2023-06-01T10:17:01.492Z","dependency_job_id":null,"html_url":"https://github.com/yifanzheng/leetcode-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yifanzheng/leetcode-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yifanzheng%2Fleetcode-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yifanzheng%2Fleetcode-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yifanzheng%2Fleetcode-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yifanzheng%2Fleetcode-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yifanzheng","download_url":"https://codeload.github.com/yifanzheng/leetcode-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yifanzheng%2Fleetcode-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30336086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["leetcode"],"created_at":"2024-11-14T04:45:39.592Z","updated_at":"2026-03-10T14:03:40.888Z","avatar_url":"https://github.com/yifanzheng.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# leetcode-java\n\n用于记录数据结构与算法的笔记，以及 leetcode 算法题解。使用 issues 进行记录。\n\n我个人比较喜欢使用 issue 记录一些知识点，因为 issue 的功能比较丰富，可以很方便的进行分类、修改、补充。\n\n\n### 个人刷题标准\n\n首先要明确的是，数据结构是工具，算法是通过合适的工具解决特定问题的方法。也就是说，学习算法之前，最起码得了解那些常用的数据结构，了解它们的特性和缺陷。\n\n所以建议的刷题顺序是：\n\n1、先学习像数组、链表这种基本数据结构的常用算法，比如单链表翻转，前缀和数组，二分搜索等。\n\n因为这些算法属于会者不难，难者不会的类型，难度不大，学习它们不会花费太多时间。而且这些小而美的算法经常让你大呼精妙，能够有效培养你对算法的兴趣。\n\n2、学会基础算法之后，不要急着上来就刷回溯算法、动态规划这类笔试常考题，而应该**先刷二叉树，先刷二叉树，先刷二叉树**，重要的事情说三遍。\n\n**要求**：\n- 只刷 easy 和 medium 和一部分 hard 题；\n- 当对一类高频题能在 30 分钟内做完，对某一个特定的算法应用于特定题目特定细节的修改都有了自己的感悟，这一类题不再刷；\n- 过一段时间（比如一个月）总结做过的题目，每一次都筛选出一部分看到就会做的题目，然后丢在一边永远不碰；对于不能马上给出答案的题，重新刷，直到看到后能马上给出答案；\n- 注重细节。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyifanzheng%2Fleetcode-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyifanzheng%2Fleetcode-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyifanzheng%2Fleetcode-java/lists"}