Commit Graph

13 Commits

Author SHA1 Message Date
Du Yuanchao
23c12f7141
Fixed checkstyle and docs (#2035)
* Update bubble sort algorithm

* fixed checkstyle

* Formatted with Google Java Formatter

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-11-18 09:25:05 +08:00
github-actions
5d59a2e828 Formatted with Google Java Formatter 2020-10-24 10:23:28 +00:00
Igor Kvashnin
95389bf9c6 Fixed wrong order in BubbleSort, corrected spelling mistakes 2020-06-30 22:44:38 +03:00
valery noname
a6ae951580 fix: removed warning for Sorts 'C-style array declaration of parameter 'array'' 2019-12-30 13:03:14 +07:00
Chase Ganey
3259944dbc
Update BubbleSort.java
Output from print(integers) returns [78, 231, 54, 23, 12, 9, 6, 4, 1]
Correct output should be: [231, 78, 54, 23, 12, 9, 6, 4, 1]
2019-11-23 12:22:27 -05:00
shellhub
8881e9aa4e make code more readable 2019-09-26 10:02:58 +08:00
yanglbme
29948363da docs: update the whole repository
* fix some bugs
* delete duplicate files
* format code
2019-05-09 19:32:54 +08:00
varunu28
819b7fd3da Restructured the repo 2018-11-13 09:15:47 -08:00
nik
b01c2cf2c6 Refactored bogo sort and bubble sort 2018-04-09 15:24:16 +03:00
Varun Upadhyay
96af9a7d63 Update BubbleSort.java
Changed the method description
2017-08-20 07:51:16 -07:00
Varun Upadhyay
9f0d7b6518 Updated BubbleSort.java
Updated BubbleSort.java to its generic version
2017-08-19 07:41:14 -07:00
UsernameToLon
e5dd6eff02 Updated to more efficient version if array size is scaled.
Changed loop from "for" to "do-while". Added decrement at end of do loop to decrease size of array tested after each iteration.
2017-05-18 14:11:47 -04:00
James Mc Dermott
04f120c830 Rename BubbleSort.java to Sorts/BubbleSort.java 2017-04-27 15:25:43 +01:00