https://github.com/bobomee/algorithms-java
Algorithms demos
https://github.com/bobomee/algorithms-java
Last synced: 8 months ago
JSON representation
Algorithms demos
- Host: GitHub
- URL: https://github.com/bobomee/algorithms-java
- Owner: BoBoMEe
- License: apache-2.0
- Created: 2017-08-21T01:56:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-24T12:00:55.000Z (about 8 years ago)
- Last Synced: 2025-06-17T14:53:40.515Z (12 months ago)
- Language: Java
- Size: 529 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
查找与排序
---
[查找](https://github.com/BoBoMEe/algorithms-java/blob/master/note/Find.md)
[排序](https://github.com/BoBoMEe/algorithms-java/blob/master/note/Sort.md)
## 算法题:
---
1. 有如下规则:
输入 "aaa", 输出 "3a",
输入 "aab", 输出 "2ab"
输入 "abb", 输出 "a2b"
输入 "aba", 输出 "aba"
实现代码:
[Problem1](https://github.com/BoBoMEe/algorithms-java/blob/master/app/src/main/java/com/java/bobomee/algorithms_module/other/Problem1.java)
2. 手动实现 indexOf
实现代码:
[Problem2](https://github.com/BoBoMEe/algorithms-java/blob/master/app/src/main/java/com/java/bobomee/algorithms_module/other/Problem2.java)