Skip to content

Impl tim sort #2126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed

Conversation

Andreas-White
Copy link

@Andreas-White Andreas-White commented Mar 6, 2021

Describe your change:

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

References

#Added the Tim Sort Algorithm, in order to resolve the issue #2003

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.
  • All new Java files are placed inside an existing directory.
  • 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.

deadshotsb and others added 30 commits July 22, 2020 23:32
Updated the file name and indentations to increase the readability
Update and rename Minimum sum partition to MinimumSumPartition.java
Add HashMapLinearProbing.java and MainLinearProbing.java
Add nested linked list and node class to HashMap.java
vasutomar and others added 27 commits November 22, 2020 23:36
…hms#2047)

* Travis CI: Fix build validation issues, add Xlint options

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* Solution to Euler Project Problem03

* Solution to Euler Project Problem03
format fix

* format code

* update prime function

Co-authored-by: mickonama <mickonama@csd.auth.gr>
Co-authored-by: shellhub <shellhub.me@gmail.com>
* add MinimumPathSum DynamicProgramming

* add tests and link for the algorithm

* remove junit dependency

* format with google code format

Co-authored-by: eatonjiang <eatonjiangtonglei@outlook.com>
* Added New Java file in Java/Misc

* Update largestRange.java

* Update largestRange.java

* Update largestRange.java

* Update largestRange.java

* Revert "Largest range"

* Added WordBoggle.java

* Update WordBoggle.java

* Added RangeInSortedArray.java in Java/Misc
* reducing complexity to linear complixity

* reducing complexity to linear

* update CheckAnagrams algo

Co-authored-by: Yang Libin <contact@yanglibin.info>
* Update CONTRIBUTING.md

* Revert "Update CONTRIBUTING.md"

This reverts commit ef0be5d.

* Update CONTRIBUTING.md
* Added algorithm for color contrast ratio.

* Added comment and example usage in main.

* Fixed calling method in main without creating object.

* Formatted with Google Java Formatter

* Add imports for ColorContrastRatio.java

* updating DIRECTORY.md

* Updated to follow repo conventions. Undid formatting of documents.

* Follow repository conventions.

* Formatted with Google Java Formatter

* Added test method with assetions.

* Formatted with Google Java Formatter

* Update Misc/ColorContrastRatio.java

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

* updating DIRECTORY.md

* Correct javadocs and parameter names.

* Formatted with Google Java Formatter

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
This commit implements a fully-automated development setup using Gitpod.io, an
online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code.
This makes it easy for anyone to get a ready-to-code workspace for any branch,
issue or pull request almost instantly with a single click.
@Andreas-White
Copy link
Author

It includes the implementation of TimSort algorithm. The conflicts are because of some packages I had to change in other classes when exploring the project.

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.