https://github.com/weizujie/java-algorithms
:zap:Java实现常见的算法
https://github.com/weizujie/java-algorithms
Last synced: 10 months ago
JSON representation
:zap:Java实现常见的算法
- Host: GitHub
- URL: https://github.com/weizujie/java-algorithms
- Owner: weizujie
- Created: 2021-01-05T12:55:44.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-10T13:15:12.000Z (almost 5 years ago)
- Last Synced: 2023-11-22T04:33:50.771Z (about 2 years ago)
- Language: Java
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java-Algorithms
## 常见算法实现
- 冒泡排序
- [BubbleSortV1](https://github.com/weizujie/Java-Algorithms/blob/main/BubbleSort/src/BubbleSortV1.java):最基础的冒泡排序
- [BubbleSortV2](https://github.com/weizujie/Java-Algorithms/blob/main/BubbleSort/src/BubbleSortV2.java):设置标志位进行优化
- [BubbleSortV3](https://github.com/weizujie/Java-Algorithms/blob/main/BubbleSort/src/BubbleSortV3.java):划分有序区和无序区进行优化
- 快速排序
- [QuickSortV1](https://github.com/weizujie/Java-Algorithms/blob/main/QuickSort/src/QuickSortV1.java):双边循环法
- [QuickSortV2](https://github.com/weizujie/Java-Algorithms/blob/main/QuickSort/src/QuickSortV2.java):单边循环法
- 二分查找
- [BinarySearch1](https://github.com/weizujie/Java-Algorithms/blob/main/BinarySearch1/src/BinarySearch1.java):while 循环写法
- [BinarySearch2](https://github.com/weizujie/Java-Algorithms/blob/main/BinarySearch2/src/BinarySearch2.java):递归写法
- 选择排序
- [SelectionSort](https://github.com/weizujie/Java-Algorithms/blob/main/SelectionSort/src/SelectionSort.java):选择排序