# leetcode **Repository Path**: mirrors_houbb/leetcode ## Basic Information - **Project Name**: leetcode - **Description**: The leetcode problem solutions.(力扣算法个人学习笔记) 查询、排序、五大算法汇总 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-09-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # leetcode leetcode 算法笔记。 ``` 程序 = 数据结构 + 算法 ``` # 按照题目顺序分类 > [顺序分类](category-nums.md) # 推荐阅读 [000-从零开始的数据结构与算法](https://houbb.github.io/2020/06/08/algorithm-000-index) [001-01-ksum 求符合条件的 k 个数 1. Two Sum/15. 3Sum/18. 4Sum/](https://houbb.github.io/2020/06/08/algorithm-001-leetcode-01-ksum) [002-两数相加 add two numbers](https://houbb.github.io/2020/06/08/algorithm-002-leetcode-02-add-two-numbers) [003-无重复字符的最长子串 Longest Substring Without Repeating Characters](https://houbb.github.io/2020/06/08/algorithm-003-leetcode-03-longest-substring-without-repeating-characters) [004-寻找两个正序数组的中位数](https://houbb.github.io/2020/06/08/algorithm-004-leetcode-04-median-of-two-sorted-arrays) [005-最长回文子串 Longest Palindromic Substring](https://houbb.github.io/2020/06/08/algorithm-005-leetcode-05-longest-palindromic-substring) [006-N 字形变换 zigzag conversion](https://houbb.github.io/2020/06/08/algorithm-006-leetcode-06-zigzag-conversion) [007-整数反转 reverse integer 整数的位运算汇总](https://houbb.github.io/2020/06/08/algorithm-007-leetcode-07-reverse-integer) [008-Regular Expression Matching 正则表达式匹配 + 42.Wildcard Matching 通配符匹配](https://houbb.github.io/2020/06/08/algorithm-008-leetcode-10-regex-match) [009-盛最多水的容器 Container With Most Water 双指针法 + 42. 接雨水 Trapping Rain Water + 407. Trapping Rain Water II](https://houbb.github.io/2020/06/08/algorithm-009-leetcode-11-container-with-most-water) [010-删除链表的倒数第 N 个结点 Remove Nth Node From End of List 双指针](https://houbb.github.io/2020/06/08/algorithm-010-leetcode-19-remove-nth-node-from-end-of-list) [011-21.合并多个有序的链表 merge k sorted lists](https://houbb.github.io/2020/06/08/algorithm-011-leetcode-21-merge-k-sorted-lists) [012-括号生成 generate-parentheses + 20. 有效的括号 valid parentheses + 32. 最长有效括号 Longest Valid Parentheses](https://houbb.github.io/2020/06/08/algorithm-012-leetcode-22-generate-parentheses) [013-K 个一组翻转链表 Reverse Nodes in k-Group + 24. 两两交换链表中的节点 swap nodes in pairs](https://houbb.github.io/2020/06/08/algorithm-013-leetcode-25-reverse-nodes-in-k-group) [014-两数相除 divide two integers](https://houbb.github.io/2020/06/08/algorithm-014-leetcode-29-divide-two-integers) [015-串联所有单词的子串 Substring with Concatenation of All Words](https://houbb.github.io/2020/06/08/algorithm-015-leetcode-30-substring-with-concatenation-of-all-words) [016-31.下一个排列 next permutation + 46. 全排列 permutations + 47. 全排列 II permutations-ii + 60. 排列序列 permutation sequence](https://houbb.github.io/2020/06/08/algorithm-016-leetcode-31-next-permutation) [017-33. 搜索旋转排序数组 Search in Rotated Sorted Array + 81. Search in Rotated Sorted Array II + 153. Find Minimum in Rotated Sorted Array 寻找旋转排序数组中的最小值 + 154.Find Minimum in Rotated Sorted Array II](https://houbb.github.io/2020/06/08/algorithm-017-leetcode-33-search-in-rotated-sorted-array) [018-34. 在排序数组中查找元素的第一个和最后一个位置 Find First and Last Position of Element in Sorted Array](https://houbb.github.io/2020/06/08/algorithm-018-leetcode-34-find-first-and-last-position-of-element-in-sorted-array) [019-36. 有效的数独 Valid Sudoku + 37. 解数独 sudoku solver](https://houbb.github.io/2020/06/08/algorithm-019-leetcode-36-valid-suduku) [020-39. 组合总和 Combination Sum + 40. 组合总和 II Combination Sum II + 77. 组合 combinations + 216. Combination Sum III + 377. 组合总和 Ⅳ](https://houbb.github.io/2020/06/08/algorithm-020-leetcode-39-combination-sum) # 基础算法 ## 查找 [java 如何实现 binary search 二分查找法?](https://houbb.github.io/2020/06/08/algorithm-12-binary-search) ## 排序 [sort-00-排序算法汇总](https://houbb.github.io/2016/07/14/sort-00-overview-sort) [sort-01-bubble sort 冒泡排序算法详解](https://houbb.github.io/2016/07/14/sort-01-bubble-sort) [sort-02-QuickSort 快速排序到底快在哪里?](https://houbb.github.io/2016/07/14/sort-02-quick-sort) [sort-03-SelectSort 选择排序算法详解](https://houbb.github.io/2016/07/14/sort-03-select-sort) [sort-04-heap sort 堆排序算法详解](https://houbb.github.io/2016/07/14/sort-03-select-sort) [sort-05-insert sort 插入排序算法详解](https://houbb.github.io/2016/07/14/sort-05-insert-sort) [sort-06-shell sort 希尔排序算法详解](https://houbb.github.io/2016/07/14/sort-06-shell-sort) [sort-07-merge sort 归并排序](https://houbb.github.io/2016/07/14/sort-07-merge-sort) [sort-08-counting sort 计数排序](https://houbb.github.io/2016/07/14/sort-08-counting-sort) [sort-08-bucket sort 桶排序](https://houbb.github.io/2016/07/14/sort-09-bucket-sort) [sort-09-timesort 时间排序](https://houbb.github.io/2018/07/26/timesort) [sort-10-java big file sort 超大文件如何实现排序?外归并排序(External merge sort)](https://houbb.github.io/2022/08/12/java-diff-sort-big-file) ## 五大算法 [五大基本算法概览](https://houbb.github.io/2020/01/23/data-struct-learn-07-base) [五大基本算法之回溯算法 backtracking](https://houbb.github.io/2020/01/23/data-struct-learn-07-base-backtracking) [五大基本算法之分治算法 Divided](https://houbb.github.io/2020/01/23/data-struct-learn-07-base-divided) [五大基本算法之动态规划算法 DP dynamic programming](https://houbb.github.io/2020/01/23/data-struct-learn-07-base-dp) [五大基本算法之穷举算法](https://houbb.github.io/2020/01/23/data-struct-learn-07-base-enum) [五大基本算法之贪心算法 Greedy](https://houbb.github.io/2020/01/23/data-struct-learn-07-base-greedy) # 相关资料 ## leetcode 算法 > [技术博客](https://houbb.github.io/) > [leetcode-visual 资源可视化](https://github.com/houbb/leetcode-visual) > [leetcode 算法实现](https://github.com/houbb/leetcode) ## 吹牛交流 ![wechat](https://img-blog.csdnimg.cn/63926529df364f09bcb203a8a9016854.png) ## 支持开源 开源不易,如果本项目对你有帮助,你可以请老马喝一杯奶茶。