[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1542":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":33,"discoverSource":34},1542,"hello-algorithm","geekxh\u002Fhello-algorithm","geekxh","🌍 针对小白的算法训练 | 包括四部分：①.大厂面经 ②.力扣图解  ③.千本开源电子书 ④.百张技术思维导图（项目花了上百小时，希望可以点 star 支持，🌹感谢~）推荐免费ChatGPT使用网站","https:\u002F\u002Fwww.lintcode.com\u002Fchat-gpt?utm_source=tf-github-xhGPT",null,"Java",36072,6420,644,11,0,2,18,1,69.8,false,"master",true,[25,26,27,28,29],"algorithms","dynamic-programming","interview-questions","leetcode","leetcode-solutions","2026-06-12 04:00:10","## 简介\n\nEnglish version repo and Gitbook is on [english branch](https:\u002F\u002Fgithub.com\u002Fgeekxh\u002Fhello-algorithm\u002Ftree\u002Fenglish)\n\n> ### **小浩算法是一套针对小白的完整的算法训练流程！** \n>\n> \u003Ca href=\"https:\u002F\u002Fwww.geekxh.com\u002F\">\u003Cimg src=\"https:\u002F\u002Fwww.geekxh.com\u002Fsvg\u002F0-1-blueviolet.svg\" alt=\"css\">\u003C\u002Fa>\n> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhaizlin\u002Ffe-interview\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fgeekxh\u002Fhello-algorithm.svg\" alt=\"Statr\">\u003C\u002Fa>\n> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhaizlin\u002Ffe-interview\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fwww.geekxh.com\u002Fsvg\u002F2-1-success.svg\" alt=\"Statr\">\u003C\u002Fa>\n>\n> 目前共包括以下几个步骤：\n> - PART_1_算法基础\n> - PART_2_力扣图解\n> - PART_3_大厂面试\n> - PART_4_CS知识汇总\n>\n> [目前已支持 PDF 下载](https:\u002F\u002Fwww.cxyhub.com\u002Fall\u002Fprogramming\u002F7786\u002F)\n\n\u003Cdiv align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fwww.geekxh.com\">\u003Cimg src=\"https:\u002F\u002Fwww.geekxh.com\u002Flogo_tmp.png\" width=\"350px\">\u003C\u002Fa>\n\u003C\u002Fdiv>\n\n\u003Cp align=\"center\">\n\u003Ca href=\"https:\u002F\u002Fwww.geekxh.com\u002F\">\u003Cimg src=\"https:\u002F\u002Fwww.geekxh.com\u002Fsvg\u002F0-1-blueviolet.svg\" alt=\"css\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhaizlin\u002Ffe-interview\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fgeekxh\u002Fhello-algorithm.svg\" alt=\"Statr\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhaizlin\u002Ffe-interview\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fwww.geekxh.com\u002Fsvg\u002F2-1-success.svg\" alt=\"Statr\">\u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n    \u003Cb>这也许是东半球最好的算法学习类项目！\u003C\u002Fb>\n\u003C\u002Fp>\n\u003C\u002Fbr>\n\n> 我自己刷题都是在 lintcode 进行，也会在上面更新题解！下方可以直接进入~\n- [www.lintcode.com](https:\u002F\u002Fwww.lintcode.com\u002F?utm_source=tf-github-xh2022)\n- [另外推荐一套算法课，北大FB双料大佬的，我之前上过，性价比很高](https:\u002F\u002Fwww.jiuzhang.com\u002Fcourse\u002F71\u002F?utm_source=tf-github-xh2022)\n- 最后，下方扫码可以领取我准备的刷题模板\n\u003Cp align=\"center\">\n    \u003Cimg height=\"200\" src=\"https:\u002F\u002Fwww.cxyhub.com\u002Fwp-content\u002Fuploads\u002F2022\u002F08\u002Ff9e51121533b2c175bcb41ee8c05e62.jpg\">\n\u003C\u002Fp>\n\n\n### 正文\n\n### PART_1_算法基础\n\n主要包括两部分：\n\n- a：数据结构知识框架：为了大家更好的掌握数据结构和算法，我把基础知识整理成了一张思维导图，包括下面这些知识点：\n\n> [开始学习](PART_1_算法基础\u002FREADME.md)\n\n- b：对常用的数据结构知识进行总结：\n\n*  [链表](PART_1_算法基础\u002F2_基础知识\u002Flinked-list\u002FREADME.md)\n*  [双向链表](PART_1_算法基础\u002F2_基础知识\u002Fdoubly-linked-list\u002FREADME.md)\n*  [队列](PART_1_算法基础\u002F2_基础知识\u002Fqueue\u002FREADME.md)\n*  [栈](PART_1_算法基础\u002F2_基础知识\u002Fstack\u002FREADME.md)\n*  [哈希表(散列)](PART_1_算法基础\u002F2_基础知识\u002Fhash-table\u002FREADME.md)\n*  [堆](PART_1_算法基础\u002F2_基础知识\u002Fheap\u002FREADME.md)\n*  [优先队列](PART_1_算法基础\u002F2_基础知识\u002Fpriority-queue\u002FREADME.md)\n*  [字典树](PART_1_算法基础\u002F2_基础知识\u002Ftrie\u002FREADME.md)\n*  [树](PART_1_算法基础\u002F2_基础知识\u002Ftree\u002FREADME.md)\n*  [图](PART_1_算法基础\u002F2_基础知识\u002Fgraph\u002FREADME.md) \n\n### PART_2_力扣图解\n\n\u003Cdetails>\u003Csummary>\u003Ca>显示更多\u003C\u002Fa>\u003C\u002Fsummary>\u003C\u002Fbr>\n    \n> [小浩图解算法题典.PDF【完整版】下载](https:\u002F\u002Fwww.cxyhub.com\u002Fall\u002Fprogramming\u002F7786\u002F)\n\n- [开始学习](http:\u002F\u002Fwww.geekxh.com)\n- [阅读指南](http:\u002F\u002Fwww.geekxh.com\u002Fc99\u002Fhello.html)\n- 数组\n    - [01.最长公共前缀(14)](http:\u002F\u002Fwww.geekxh.com\u002F1.0.数组系列\u002F002.html)  \n    - [02.买卖股票的最佳时机(122)](http:\u002F\u002Fwww.geekxh.com\u002F1.0.数组系列\u002F003.html)\n    - [03.旋转数组(189)](http:\u002F\u002Fwww.geekxh.com\u002F1.0.数组系列\u002F004.html) \n    - [04.原地删除(27)](http:\u002F\u002Fwww.geekxh.com\u002F1.0.数组系列\u002F005.html) \n    - [05.加一(66)](http:\u002F\u002Fwww.geekxh.com\u002F1.0.数组系列\u002F006.html)\n    - [06.两数之和(1)](http:\u002F\u002Fwww.geekxh.com\u002F1.0.数组系列\u002F007.html)                                              \n    - [07.三数之和(15)](http:\u002F\u002Fwww.geekxh.com\u002F1.0.数组系列\u002F008.html)                                              \n    - [08.Z字形变换(6)](http:\u002F\u002Fwww.geekxh.com\u002F1.0.数组系列\u002F009.html)  \n- 链表                                            \n    - [01.删除链表倒数第N个节点(19)](http:\u002F\u002Fwww.geekxh.com\u002F1.1.链表系列\u002F101.html)                                                 \n    - [02.合并两个有序链表(21)](http:\u002F\u002Fwww.geekxh.com\u002F1.1.链表系列\u002F102.html)                                                 \n    - [03.环形链表(141)](http:\u002F\u002Fwww.geekxh.com\u002F1.1.链表系列\u002F103.html)                                                 \n    - [04.两数相加(2)](http:\u002F\u002Fwww.geekxh.com\u002F1.1.链表系列\u002F104.html)                                                 \n- 动态规划\n    - [01.爬楼梯(70)](http:\u002F\u002Fwww.geekxh.com\u002F1.2.动态规划系列\u002F201.html)                                                \n    - [02.最大子序和(53)](http:\u002F\u002Fwww.geekxh.com\u002F1.2.动态规划系列\u002F202.html)                                                \n    - [03.最长上升子序列(300)](http:\u002F\u002Fwww.geekxh.com\u002F1.2.动态规划系列\u002F203.html)                                                \n    - [04.三角形最小路径和(120)](http:\u002F\u002Fwww.geekxh.com\u002F1.2.动态规划系列\u002F204.html)                                                \n    - [05.最小路径和(64)](http:\u002F\u002Fwww.geekxh.com\u002F1.2.动态规划系列\u002F205.html)                                                \n    - [06.打家劫舍(198)](http:\u002F\u002Fwww.geekxh.com\u002F1.2.动态规划系列\u002F206.html)                                                \n- 字符串\n    - [01.反转字符串(344)](http:\u002F\u002Fwww.geekxh.com\u002F1.3.字符串系列\u002F301.html)                                               \n    - [02.字符串中的第一个唯一字符(387)](http:\u002F\u002Fwww.geekxh.com\u002F1.3.字符串系列\u002F302.html)                                               \n    - [03.实现 Sunday 匹配](http:\u002F\u002Fwww.geekxh.com\u002F1.3.字符串系列\u002F303.html)                                               \n    - [04.大数打印](http:\u002F\u002Fwww.geekxh.com\u002F1.3.字符串系列\u002F304.html)                                               \n    - [05.验证回文串(125)](http:\u002F\u002Fwww.geekxh.com\u002F1.3.字符串系列\u002F305.html)                                               \n    - [06.KMP 精讲](http:\u002F\u002Fwww.geekxh.com\u002F1.3.字符串系列\u002F306.html)                                               \n    - [07.旋转字符串(796)](http:\u002F\u002Fwww.geekxh.com\u002F1.3.字符串系列\u002F307.html)                                               \n    - [08.最后一个单词的长度(58)](http:\u002F\u002Fwww.geekxh.com\u002F1.3.字符串系列\u002F308.html)                                               \n- 二叉树\n    - [01.最大深度与DFS(104)](http:\u002F\u002Fwww.geekxh.com\u002F1.4.二叉树系列\u002F401.html)                                               \n    - [02.层次遍历与BFS(102)](http:\u002F\u002Fwww.geekxh.com\u002F1.4.二叉树系列\u002F402.html)                                               \n    - [03.BST与其验证(98)](http:\u002F\u002Fwww.geekxh.com\u002F1.4.二叉树系列\u002F403.html)                                               \n    - [04.BST 的查找(700)](http:\u002F\u002Fwww.geekxh.com\u002F1.4.二叉树系列\u002F404.html)                                               \n    - [05.BST 的删除(450)](http:\u002F\u002Fwww.geekxh.com\u002F1.4.二叉树系列\u002F405.html)                                               \n    - [06.平衡二叉树(110)](http:\u002F\u002Fwww.geekxh.com\u002F1.4.二叉树系列\u002F406.html)                                               \n    - [07.完全二叉树(222)](http:\u002F\u002Fwww.geekxh.com\u002F1.4.二叉树系列\u002F407.html)                                               \n    - [08.二叉树的剪枝(814)](http:\u002F\u002Fwww.geekxh.com\u002F1.4.二叉树系列\u002F408.html)                                               \n- 滑动窗口\n    - [01.滑动窗口最大值（239）](http:\u002F\u002Fwww.geekxh.com\u002F1.5.滑动窗口系列\u002F501.html)                                                \n    - [02.无重复字符的最长子串（3）](http:\u002F\u002Fwww.geekxh.com\u002F1.5.滑动窗口系列\u002F502.html)                                                \n    - [03.找到字符串中所有字母异位词（438）](http:\u002F\u002Fwww.geekxh.com\u002F1.5.滑动窗口系列\u002F503.html)                                                \n    - [04.和为s的连续正数序列](http:\u002F\u002Fwww.geekxh.com\u002F1.5.滑动窗口系列\u002F504.html)   \n- 博弈论                                             \n    - [01.囚徒困境](http:\u002F\u002Fwww.geekxh.com\u002F1.6.博弈论系列\u002F601.html)                                                \n    - [02.辛普森悖论](http:\u002F\u002Fwww.geekxh.com\u002F1.6.博弈论系列\u002F602.html)                                                \n    - [03.红眼睛和蓝眼睛](http:\u002F\u002Fwww.geekxh.com\u002F1.6.博弈论系列\u002F603.html)                                                 \n    - [04.海盗分金币](http:\u002F\u002Fwww.geekxh.com\u002F1.6.博弈论系列\u002F604.html)                                                \n    - [05.智猪博弈](http:\u002F\u002Fwww.geekxh.com\u002F1.6.博弈论系列\u002F605.html)                                                \n    - [06.生男生女的问题](http:\u002F\u002Fwww.geekxh.com\u002F1.6.博弈论系列\u002F606.html)                                                \n    - [07.硬币问题](http:\u002F\u002Fwww.geekxh.com\u002F1.6.博弈论系列\u002F607.html)                                                \n    - [08.画圈圈的问题](http:\u002F\u002Fwww.geekxh.com\u002F1.6.博弈论系列\u002F608.html)                                                \n    - [09.巧克力问题](http:\u002F\u002Fwww.geekxh.com\u002F1.6.博弈论系列\u002F609.html)                                                \n    - [10.大鱼和小鱼的问题](http:\u002F\u002Fwww.geekxh.com\u002F1.6.博弈论系列\u002F610.html)  \n- 位运算                                              \n    - [01.使用位运算求和](http:\u002F\u002Fwww.geekxh.com\u002F1.8.位运算系列\u002F801.html)                                                \n    - [02.2的幂(231)](http:\u002F\u002Fwww.geekxh.com\u002F1.8.位运算系列\u002F802.html)                                                \n    - [03.返回一个数二进制中1的个数](http:\u002F\u002Fwww.geekxh.com\u002F1.8.位运算系列\u002F803.html)                                                 \n    - [04.只出现一次的数字](http:\u002F\u002Fwww.geekxh.com\u002F1.8.位运算系列\u002F804.html)                                                 \n    - [05.只出现一次的数字Ⅱ](http:\u002F\u002Fwww.geekxh.com\u002F1.8.位运算系列\u002F805.html)                                                 \n    - [06.缺失数字(268)](http:\u002F\u002Fwww.geekxh.com\u002F1.8.位运算系列\u002F806.html) \n- 二分法                                                \n    - [01.爱吃香蕉的珂珂（875）](http:\u002F\u002Fwww.geekxh.com\u002F1.9.二分法系列\u002F901.html)                                                \n    - [02.x的平方根（69）](http:\u002F\u002Fwww.geekxh.com\u002F1.9.二分法系列\u002F902.html)                                                \n    - [03.x的平方根（69）](http:\u002F\u002Fwww.geekxh.com\u002F1.9.二分法系列\u002F903.html)                                                 \n    - [04.旋转排序数组中的最小值Ⅰ（153）](http:\u002F\u002Fwww.geekxh.com\u002F1.9.二分法系列\u002F904.html)                                                 \n    - [05.旋转排序数组中的最小值Ⅱ(154)](http:\u002F\u002Fwww.geekxh.com\u002F1.9.二分法系列\u002F905.html)                                                 \n    - [06.供暖器（475）](http:\u002F\u002Fwww.geekxh.com\u002F1.9.二分法系列\u002F906.html)   \n- 其他高频面试题目                                              \n    - [01.螺旋矩阵(54)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F01.html)                                                 \n    - [02.只有两个键的键盘(650)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F02.html)                                                 \n    - [03.24点游戏(679)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F03.html)                                                 \n    - [04.飞机座位分配概率(1227)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F04.html)                                                 \n    - [05.水分子的产生](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F05.html)                                                 \n    - [06.救生艇(881)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F06.html)                                                 \n    - [07.救生艇(881)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F07.html)                                                 \n    - [08.灯泡开关(319)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F08.html)                                                 \n    - [09.三门问题](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F09.html)                                                 \n    - [10.猜数字游戏(299)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F10.html)                                                 \n    - [11.LRU缓存机制(146)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F11.html)                                                 \n    - [12.最小的k个数](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F12.html)                                                 \n    - [13.不同路径](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F13.html)                                                 \n    - [14.不同路径-障碍物](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F14.html)                                                 \n    - [15.连续n个数的和](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F15.html)                                                 \n    - [16.盛水最多的容器](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F16.html)                                                 \n    - [17.扑克牌中的顺子容器](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F17.html)                                                 \n    - [18.整数拆分(343)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F18.html)                                                 \n    - [19.移动石子到连续(1033)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F19.html)                                                 \n    - [20.Nim游戏(292)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F20.html)                                                 \n    - [21.寻找两个正序数组的中位数(4)](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F21.html)                                                 \n    - [22.第k个最大元素（215）](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F22.html)                                                 \n    - [23.镜面反射（858）](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F23.html)                                                 \n    - [25.整数转罗马数字（12）](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F25.html)                                                 \n    - [26.荷兰国旗问题](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F26.html)                                                 \n    - [27.六九问题](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F27.html)                                                 \n    - [28.有效的数独](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F28.html)                                                 \n    - [29.费米估算](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F29.html)                                                 \n    - [30.分发饼干](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F30.html)                                                 \n    - [31.生命游戏（289）](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F31.html)                                                 \n    - [32.搜索二维矩阵（74）](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F32.html)                                                 \n    - [33.子集（78）](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F33.html)                                                 \n    - [34.面试中的智力题](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F34.html)                                                 \n    - [35.旋转图像（48）](http:\u002F\u002Fwww.geekxh.com\u002F1.99.其他补充题目\u002F51.html)                                                 \n\n\u003C\u002Fdetails>\n\n### PART_3_大厂面试（更新中）\n\n\u003Cdetails>\u003Csummary>\u003Ca>显示更多\u003C\u002Fa>\u003C\u002Fsummary>\u003C\u002Fbr>\n\n考虑到现在网上面经实在太杂，很多都冠以 “BAT” 之名，重复率、错误率都非常高。所以我尽可能的挑选出了我认为比较好的 50 篇面经（基本不重复），并对内容做了分类。\n\n建议大家把这个页面收藏起来，防止后面需要的时候找不到了。（整理了近40个小时，跪求star~）\n\n- [系统设计-长文（非常建议读，我自己也看了）](https:\u002F\u002Fgithub.com\u002Fdonnemartin\u002Fsystem-design-primer\u002Fblob\u002Fmaster\u002FREADME-zh-Hans.md)\n- [后端-社招(两年): 蚂蚁 头条 PingCAP](https:\u002F\u002Fgithub.com\u002Faylei\u002Finterview)\n- [后端-京东-JAVA](https:\u002F\u002Fwww.cnblogs.com\u002Fwupeixuan\u002Fp\u002F8908524.html#%E4%B8%80%E3%80%81java)\n- [后端-百度-高并发抢红包设计](https:\u002F\u002Fgithub.com\u002Fxbox1994\u002FJava-Interview\u002Fblob\u002Fmaster\u002FMD\u002F%E7%B3%BB%E7%BB%9F%E8%AE%BE%E8%AE%A1-%E9%AB%98%E5%B9%B6%E5%8F%91%E6%8A%A2%E7%BA%A2%E5%8C%85.md)\n- [NLP（机器学习）-百度](https:\u002F\u002Fwww.e-learn.cn\u002Ftopic\u002F95743)\n\n\u003C\u002Fdetails>\n\n\n### PART_4_CS_知识汇总(TODO)\n\n### License\n\n本项目除部分引用开源技术文档的内容外，大部分为本人原创。欢迎任何以学习为目的的传播，但未授权任何平台进行转载！\n","小浩算法是一个面向编程初学者的算法训练项目，旨在通过系统化的学习材料帮助用户掌握算法知识。该项目包括四大部分：大厂面试经验分享、力扣题目图解解析、千本开源电子书以及百张技术思维导图，涵盖了从基础数据结构到复杂算法题目的全面指导。采用Java语言编写示例代码，适合准备技术面试、提升编程技能或希望系统性学习算法的开发者使用。","2026-06-11 02:44:33","top_all"]