The Wayback Machine - https://web.archive.org/web/20201103183600/https://github.com/TheAlgorithms/Java/pull/1786
Skip to content
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

Development #1786

Open
wants to merge 219 commits into
base: master
from
Open

Development #1786

wants to merge 219 commits into from

Conversation

@hhelenxu
Copy link

@hhelenxu hhelenxu commented Oct 14, 2020

Describe your change:

Added ROT N cipher decryptor algorithm.

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

References

Checklist:

  • [x ] I have read CONTRIBUTING.md.
  • [x ] This pull request is all my own work -- I have not plagiarized.
  • [x ] I know that pull requests will not be merged if they fail the automated tests.
  • [x ] This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • [x ] All new Java files are placed inside an existing directory.
  • [x ] All filenames are in all uppercase characters with no spaces or dashes.
  • [x ] All functions and variable names follow Java naming conventions.
  • [x ] All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
  • [x ] If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.
varunu28 and others added 30 commits Aug 24, 2018
add a Test about AnyBaseToDecimal.java
add some tests for Sort
delete print statements from Test files.
add Test for InsertionSort
Signed-off-by: Ralph Niemitz <[email protected]>
Negative Integer, worst case array test added
add MergeSortTest for MergeSort.
-Linear Search was added.
-Made Both searches final and static ( There is no reason to have to instantiate them). Also Changed the tests to include the new static methods.
-Added a new test, searching an empty array.
Added StoogeSort algorithm and JUnit Test
Added Interpolation Search and JUnit test.
Added Linear Search, changed Binary search
MohamedBechir and others added 30 commits May 25, 2020
Add hexadecimal to binary and hexadecimal  to decimal conversions
add junit for test paass
Added LFU Cache implementation
Added LRU cache implementation.
- Local variable names in java must be with the  default regular expression ^[a-z][a-zA-Z0-9]*$
https://rules.sonarsource.com/java/tag/convention/RSPEC-117
- The diamond operator ("<>") should be used when the type of the maps are already defined
https://rules.sonarsource.com/java/RSPEC-2293
- Package names being camel cased is a code smell
-Generic types shouldn't be used raw (without type parameters) in variable declarations or return values. Doing so bypasses generic type checking, and defers the catch of unsafe code to runtime. https://rules.sonarsource.com/java/RSPEC-3740
- The dangling else problem appears when nested if/else statements are written without curly braces. In this case, else is associated with the nearest if but that is not always obvious and sometimes the indentation can also be misleading.
https://rules.sonarsource.com/java/tag/confusing/RSPEC-5261
Fixed code smells after running sonarqube on the project
Revert "Fixed code smells after running sonarqube on the project"
Added LinkedHashMap cache type params to avoid build error
…ect""
…evelopment

Revert "Revert "Fixed code smells after running sonarqube on the project""
Fixed actions on pull requests
Fixed syntax error
Implementation for Round Robin Algorithm in Java with tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

You can’t perform that action at this time.