Skip to content

Conversation

@Relesi
Copy link

@Relesi Relesi commented Jun 26, 2021

Describe your change:

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Documentation change?

References

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • All new Java files are placed inside an existing directory.
  • All filenames are in all uppercase characters with no spaces or dashes.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
  • If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

StepfenShawn and others added 30 commits August 11, 2020 17:51
Added insert by index
* add test
* fix armstrong number
Add javadoc comments and Cleanup DynamicArray.java
update armstrong number and add NumberOfDigits
Updates include:
add no-args constructor
add whitespace
use public class LinkedList
use private fields
Update and rename ListAddnFun to ListAddnFun.java
* add ceil() to maths
* add combinations() to maths
* add floor() to maths
* add PerfectCube
* PerfectSquare
github-actions and others added 29 commits March 24, 2021 16:51
Arrays.fill() accepts single dimensional arrays, so fill one row at a time.

Fixes TheAlgorithms#2009
Only method comment for public recursive method.
* udpate insertion sort

* Formatted with Google Java Formatter

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* selection sort

* Formatted with Google Java Formatter

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* Formula to find median in BS changed

* Fixed bugs

* fixed binary search bug

Co-authored-by: Sourav <kalitasourav12@gmail.com.com>
Co-authored-by: Du Yuanchao <shellhub.me@gmail.com>
* BinarySearch: clearer median computation

">>> 1" is simply too obscure...

* update binary search

Co-authored-by: Yang Libin <contact@yanglibin.info>

Co-authored-by: Du Yuanchao <shellhub.me@gmail.com>
Co-authored-by: Yang Libin <contact@yanglibin.info>
* Add Tim Sort implementation in Java

* Add comments and complete implementation of TimSort Algorithm

* Add better docs

* Add @brief's and test method

* Fix errors

* add Test method

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Add tests

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
* readded EulerMethod.java after sync

* add package
* Add Euler method (from master)

trying to avoid to prettier-error by making the commit from the master-branch

* delete file

* Add algorithm for the Mandelbrot set

* remove unnecessary import

* fix comments

* Changed variable name

* add package
* add KochSnowflake.java

* add package
* readded EulerMethod.java after sync

* add RgbHsvConversion.java

* Delete EulerMethod.java

* add package
* reformat merge sort

* Formatted with Google Java Formatter

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
…ed PR on Development) (TheAlgorithms#2232)

* Add Horspool algorithm
* Add wikipedia link and move to strings package
@yanglbme yanglbme closed this Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.