# Algorithms **Repository Path**: WjbStudyLife/Algorithms ## Basic Information - **Project Name**: Algorithms - **Description**: The codes and my solutions to exercises from the book "Algorithms" (4th edition) by Robert Sedgewick and Kevin Wayne. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-11-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 算法(第4版) ========== >这个项目包含《算法(第4版)》书中的代码和本人对部分课后练习的解答。分享给大家来一起学习,希望大家可以帮助完善这个项目,非常感谢!另外遇到的问题可以参考:[http://blog.csdn.net/u013541140/article/details/53222770](http://blog.csdn.net/u013541140/article/details/53222770) >[官方网站](http://algs4.cs.princeton.edu/home/) [官方代码下载](http://algs4.cs.princeton.edu/code/algs4.jar) [官方测试数据下载](http://algs4.cs.princeton.edu/code/algs4-data.zip) 目录 ---- ### 第1章 基础  [1.1 基础编程模型](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter1_1)
 [1.2 数据抽象](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter1_2)
 [1.3 背包、队列和栈](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter1_3)
 [1.4 算法分析](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter1_4)
 [1.5 案例研究:union-find算法](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter1_5)
### 第2章 排序  [2.1 初级排序算法](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter2_1)
 [2.2 归并排序](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter2_2)
 [2.3 快速排序](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter2_3)
 [2.4 优先队列](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter2_4)
 [2.5 应用](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter2_5)
### 第3章 查找  [3.1 符号表](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter3_1)
 [3.2 二叉查找树](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter3_2)
 [3.3 平衡查找树](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter3_3)
 [3.4 散列表](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter3_4)
 [3.5 应用](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter3_5)
### 第4章 图  [4.1 无向图](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter4_1)
 [4.2 有向图](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter4_2)
 [4.3 最小生成树](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter4_3)
 [4.4 最短路径](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter4_4)
### 第5章 字符串  [5.1 字符串排序](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter5_1)
 [5.2 单词查找树](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter5_2)
 [5.3 子字符串查找](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter5_3)
 [5.4 正则表达式](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter5_4)
 [5.5 数据压缩](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter5_5)
### [第6章 背景](https://github.com/jimmysuncpt/Algorithms/tree/master/src/com/jimmysun/algorithms/chapter6)
### [官方代码](https://github.com/jimmysuncpt/Algorithms/tree/master/src/edu/princeton/cs/algs4)