[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4885":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":15,"starSnapshotCount":15,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},4885,"algorithm-pattern","greyireland\u002Falgorithm-pattern","greyireland","Algorithm Patterns — the most scientific way to practice, the fastest path to an offer. You deserve it~ 算法模板，最科学的刷题方式，最快速的刷题路径，你值得拥有~",null,"Go",15462,2581,345,29,0,3,11,1,72.6,"MIT License",false,"master",true,[25,26,27,28,29],"algo","algorithm","leetcode","leetcode-go","pattern","2026-06-12 04:00:23","# 算法模板\n\n![来刷题了](https:\u002F\u002Fimg.fuiboom.com\u002Fimg\u002Ftitle.png)\n\n算法模板，最科学的刷题方式，最快速的刷题路径，一个月从入门到 offer，你值得拥有 🐶~\n\n算法模板顾名思义就是刷题的套路模板，掌握了刷题模板之后，刷题也变得好玩起来了~\n\n> 此项目是自己找工作时，从 0 开始刷 LeetCode 的心得记录，通过各种刷题文章、专栏、视频等总结了一套自己的刷题模板。\n>\n> 这个模板主要是介绍了一些通用的刷题模板，以及一些常见问题，如到底要刷多少题，按什么顺序来刷题，如何提高刷题效率等。\n\n## 在线文档\n\n在线文档 Gitbook：[算法模板 🔥](https:\u002F\u002Fgreyireland.gitbook.io\u002Falgorithm-pattern\u002F)\n\n## 核心内容\n\n### 入门篇 🐶\n\n- [go 语言入门](.\u002Fintroduction\u002Fgolang.md)\n- [算法快速入门](.\u002Fintroduction\u002Fquickstart.md)\n\n### 数据结构篇 🐰\n\n- [二叉树](.\u002Fdata_structure\u002Fbinary_tree.md)\n- [链表](.\u002Fdata_structure\u002Flinked_list.md)\n- [栈和队列](.\u002Fdata_structure\u002Fstack_queue.md)\n- [二进制](.\u002Fdata_structure\u002Fbinary_op.md)\n\n### 基础算法篇 🐮\n\n- [二分搜索](.\u002Fbasic_algorithm\u002Fbinary_search.md)\n- [排序算法](.\u002Fbasic_algorithm\u002Fsort.md)\n- [动态规划](.\u002Fbasic_algorithm\u002Fdp.md)\n\n### 算法思维 🦁\n\n- [递归思维](.\u002Fadvanced_algorithm\u002Frecursion.md)\n- [滑动窗口思想](.\u002Fadvanced_algorithm\u002Fslide_window.md)\n- [二叉搜索树](.\u002Fadvanced_algorithm\u002Fbinary_search_tree.md)\n- [回溯法](.\u002Fadvanced_algorithm\u002Fbacktrack.md)\n\n## 心得体会\n\n文章大部分是对题目的思路介绍，和一些问题的解析，有了思路还是需要自己手动写写的，所以每篇文章最后都有对应的练习题\n\n刷完这些练习题，基本对数据结构和算法有自己的认识体会，基本大部分面试题都能写得出来，国内的 BAT、TMD 应该都不是问题\n\n从 4 月份找工作开始，从 0 开始刷 LeetCode，中间大概花了一个半月(6 周)左右时间刷完 240 题。\n\n![一个半月刷完240题](https:\u002F\u002Fimg.fuiboom.com\u002Fimg\u002Fleetcode_time.png)\n\n![刷题记录](https:\u002F\u002Fimg.fuiboom.com\u002Fimg\u002Fleetcode_record.png)\n\n开始刷题时，确实是无从下手，因为从序号开始刷，刷到几道题就遇到 hard 的题型，会卡住很久，后面去评论区看别人怎么刷题，也去 Google 搜索最好的刷题方式，发现按题型刷题会舒服很多，基本一个类型的题目，一天能做很多，慢慢刷题也不再枯燥，做起来也很有意思，最后也收到不错的 offer（最后去了宇宙系）。\n\n回到最开始的问题，面试到底要刷多少题，其实这个取决于你想进什么样公司，你定的目标如果是国内一线大厂，个人感觉大概 200 至 300 题基本就满足大部分面试需要了。第二个问题是按什么顺序刷及如何提高效率，这个也是本 repo 的目的，给你指定了一个刷题的顺序，以及刷题的模板，有了方向和技巧后，就去动手吧~ 希望刷完之后，你也能自己总结一套属于自己的刷题模板，有所收获，有所成长~\n\n## 推荐的刷题路径\n\n按此 repo 目录刷一遍，如果中间有题目卡住了先跳过，然后刷题一遍 LeetCode 探索基础卡片，最后快要面试时刷题一遍剑指 offer。\n\n为什么这么要这么刷，因为 repo 里面的题目是按类型归类，都是一些常见的高频题，很有代表性，大部分都是可以用模板加一点变形做出来，刷完后对大部分题目有基本的认识。然后刷一遍探索卡片，巩固一下一些基础知识点，总结这些知识点。最后剑指 offer 是大部分公司的出题源头，刷完面试中基本会遇到现题或者变形题，基本刷完这三部分，大部分国内公司的面试题应该就没什么问题了~\n\n1、 [algorithm-pattern 练习题](https:\u002F\u002Fgreyireland.gitbook.io\u002Falgorithm-pattern\u002F)\n\n![练习题](https:\u002F\u002Fimg.fuiboom.com\u002Fimg\u002Frepo_practice.png)\n\n2、 [LeetCode 卡片](https:\u002F\u002Fleetcode-cn.com\u002Fexplore\u002F)\n\n![探索卡片](https:\u002F\u002Fimg.fuiboom.com\u002Fimg\u002Fleetcode_explore.png)\n\n3、 [剑指 offer](https:\u002F\u002Fleetcode-cn.com\u002Fproblemset\u002Flcof\u002F)\n\n![剑指offer](https:\u002F\u002Fimg.fuiboom.com\u002Fimg\u002Fleetcode_jzoffer.png)\n\n刷题时间可以合理分配，如果打算准备面试了，建议前面两部分 一个半月 （6 周）时间刷完，最后剑指 offer 半个月刷完，边刷可以边投简历进行面试，遇到不会的不用着急，往模板上套就对了，如果面试管给你提示，那就好好做，不要错过这大好机会~\n\n> 注意点：如果为了找工作刷题，遇到 hard 的题如果有思路就做，没思路先跳过，先把基础打好，再来刷 hard 可能效果会更好~\n\n## 面试资源\n\n分享一些计算机的经典书籍，大部分对面试应该都有帮助，强烈推荐 🌝\n\n[我看过的 100 本书](https:\u002F\u002Fgithub.com\u002Fgreyireland\u002Fawesome-programming-books-1)\n\n## 更新计划\n\n持续更新中，觉得还可以的话点个 **star** 收藏呀 ⭐️~\n\n【 Github 】[https:\u002F\u002Fgithub.com\u002Fgreyireland\u002Falgorithm-pattern](https:\u002F\u002Fgithub.com\u002Fgreyireland\u002Falgorithm-pattern) ⭐️\n\n## 完成打卡\n\n完成计划之后，可以提交 Pull requests，在下面添加自己的项目仓库，完成自己的算法模板打卡呀~\n\n| 完成 | 用户                                              | 项目地址                                                            |\n| ---- | ------------------------------------------------- | ------------------------------------------------------------------- |\n| ✅   | [easyui](https:\u002F\u002Fgithub.com\u002Feasyui\u002F) | [algorithm-pattern-swift(Swift 实现)](https:\u002F\u002Fgithub.com\u002Feasyui\u002Falgorithm-pattern-swift),[在线文档 Gitbook](https:\u002F\u002Fzyj.gitbook.io\u002Falgorithm-pattern-swift\u002F) |\n| ✅   | [wardseptember](https:\u002F\u002Fgithub.com\u002Fwardseptember) | [notes(Java 实现)](https:\u002F\u002Fgithub.com\u002Fwardseptember\u002Fnotes)          |\n| ✅   | [dashidhy](https:\u002F\u002Fgithub.com\u002Fdashidhy) | [algorithm-pattern-python(Python 实现)](https:\u002F\u002Fgithub.com\u002Fdashidhy\u002Falgorithm-pattern-python) |\n| ✅   | [binzi56](https:\u002F\u002Fgithub.com\u002Fbinzi56) | [algorithm-pattern-c(c++ 实现)](https:\u002F\u002Fgithub.com\u002Fbinzi56\u002Falgorithm-pattern-c) |\n| ✅   | [lvseouren](https:\u002F\u002Fgithub.com\u002Flvseouren) | [algorithm-study-record(c++ 实现)](https:\u002F\u002Fgithub.com\u002Flvseouren\u002Falgorithm-study-record) |\n| ✅   | [chienmy](https:\u002F\u002Fgithub.com\u002Fchienmy) | [algorithm-pattern-java(Java 实现)](https:\u002F\u002Fgithub.com\u002Fchienmy\u002Falgorithm-pattern-java), [在线文档 Gitbook](https:\u002F\u002Fchienmy.gitbook.io\u002Falgorithm-pattern-java\u002F) |\n| ✅ | [ligecarryme](https:\u002F\u002Fgithub.com\u002Fligecarryme) | [algorithm-pattern-JavaScript(JS+TS实现)](https:\u002F\u002Fgithub.com\u002Fligecarryme\u002Falgorithm-pattern-JavaScript) |\n| ✅ | [Esdeath](https:\u002F\u002Fgithub.com\u002FEsdeath) | [algorithm-pattern-dart(dart实现)](https:\u002F\u002Fgithub.com\u002FEsdeath\u002Falgorithm-pattern-dart),[在线文档 Gitbook](https:\u002F\u002Fayaseeri.gitbook.io\u002Falgorithm-pattern-dart\u002F) |\n| ✅ | [longpi1](https:\u002F\u002Fgithub.com\u002Flongpi1) | [algorithm-pattern-golang(golang实现)](https:\u002F\u002Fgithub.com\u002Flongpi1\u002Falgorithm-pattern)\n| ✅ | [tpxxn](https:\u002F\u002Fgithub.com\u002Ftpxxn) | [algorithm-pattern-CSharp(C# 实现)](https:\u002F\u002Fgithub.com\u002Ftpxxn\u002Falgorithm-pattern-CSharp)","该项目提供了一套科学的算法模板，旨在帮助开发者高效地准备技术面试中的算法题目。它以Go语言为基础，涵盖了从基础数据结构到高级算法思维的全面内容，并提供了详细的刷题路径和技巧。项目中不仅包括了二叉树、链表等常见数据结构的学习材料，还有如动态规划、回溯法等复杂算法的解析。特别适合于正在准备技术岗位面试、希望系统性提高自己在算法与数据结构方面能力的程序员。通过遵循其推荐的学习路线，用户可以在短时间内掌握解决LeetCode上大部分问题所需的知识点，从而增强自己的竞争力。",2,"2026-06-11 03:01:17","top_language"]