Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
3e999d9
Restructured the folder
varunu28 Aug 24, 2018
90a3820
Delete .classpath
varunu28 Aug 24, 2018
da58e6b
Delete .project
varunu28 Aug 24, 2018
39fb790
Update README.md
varunu28 Aug 24, 2018
ee0940d
Update README.md
varunu28 Aug 24, 2018
db9e4bb
Update README.md
varunu28 Aug 25, 2018
bcf4b61
add a Test
lq920320 Aug 25, 2018
d9c4639
add a Test
lq920320 Aug 25, 2018
5b76fca
Merge pull request #488 from lq920320/Development
varunu28 Aug 25, 2018
90a4c36
Added binary search and test
varunu28 Aug 25, 2018
89f1c37
add some tests for Sort
lq920320 Aug 26, 2018
3eff872
Merge pull request #490 from lq920320/Development
varunu28 Aug 26, 2018
0adfcac
Corrected project structure
varunu28 Aug 28, 2018
4709345
add Test for InsertionSort
lq920320 Aug 29, 2018
6de8705
add Test for InsertionSort;
lq920320 Aug 29, 2018
e4827bd
Merge pull request #500 from lq920320/Development
varunu28 Aug 30, 2018
6d2fa79
Added SimplexNoise
RalleYTN Sep 3, 2018
0128a01
Made the required changes for the PR
RalleYTN Sep 4, 2018
7a8191f
Negative Integer, worst case array test added
lakshay17244 Sep 7, 2018
c4a13fc
Merge pull request #512 from lakshay17244/patch-1
varunu28 Sep 7, 2018
4e7843b
Corrected the InsertionSort test
varunu28 Sep 8, 2018
999dc93
add MergeSortTest for MergeSort.
lq920320 Sep 9, 2018
08dc6ad
Merge pull request #514 from lq920320/Development
varunu28 Sep 9, 2018
c6ce36b
Added Linear Search, changed Binary search
PanKarapas Oct 31, 2018
7281281
Added StoogeSort algorithm and JUnit Test
LesliePinto89 Nov 4, 2018
829f7d7
Merge pull request #635 from LesliePinto89/Development
varunu28 Nov 4, 2018
c0ca537
Added Interpolation Search and JUnit test.
LesliePinto89 Nov 17, 2018
7c0c4bc
Merge pull request #647 from LesliePinto89/Development
yanglbme Dec 4, 2018
6dcbaca
Added Jump Search algorithm and JUnit test
LesliePinto89 Dec 5, 2018
d814728
Merge pull request #628 from Feconiz/Development
yanglbme Dec 12, 2018
f65fc4d
Merge pull request #511 from RalleYTN/Development
yanglbme Dec 27, 2018
e15d329
Added algorithm class CountingSort and its corresponding test class C…
ani03sha Jan 2, 2019
9763b6d
Added algorithm class CycleSort and its corresponding test class Cycl…
ani03sha Jan 2, 2019
c22449a
Fixed the CountingSort to incorporate negative values by adding offset
ani03sha Jan 2, 2019
a7a087d
Merge pull request #669 from ani03sha/Development
yanglbme Jan 2, 2019
005380f
Added Pigeonhole Sort with its corresponding test cases
ani03sha Jan 4, 2019
9fe55c8
Added Pigeonhole Sort with its corresponding test cases
ani03sha Jan 4, 2019
1274140
Update PigeonholeSort.java
yanglbme Jan 4, 2019
e7a182b
Merge pull request #670 from ani03sha/Development
yanglbme Jan 4, 2019
2e618c8
Add the Secure Hash Algorithm 2 family, namely SHA-224, SHA-256, SHA-384
Jan 4, 2019
604d5d3
Update Sha2.java
yanglbme Jan 8, 2019
2f918ed
Merge pull request #673 from darius-welsch/Development
yanglbme Jan 8, 2019
87eec2d
Add Base64 encoding and decoding
Jan 16, 2019
2b04588
README.md: fix broken links + minor orthographic and syntactic correc…
Jan 16, 2019
4f10211
moving sort algorithms into right place
AlienJimmey Jan 16, 2019
b61eb8c
moved sorts folder to fit with others test
AlienJimmey Jan 16, 2019
2ef1e90
Merge pull request #686 from TimotheeChauvin/Development
yanglbme Jan 17, 2019
a8862c3
Merge pull request #687 from AlienJimmey/Development
yanglbme Jan 17, 2019
9de5a02
add the Gale Shapley algorithm (with a test)
Jan 18, 2019
e631e32
Merge pull request #691 from TimotheeChauvin/Development
yanglbme Jan 19, 2019
6268d39
arodriguez33 Jan 27, 2019
2bcc4c9
arodriguez33 Jan 28, 2019
6312a1e
binary number in 64 bits
arodriguez33 Jan 29, 2019
d082862
Update BinaryToHexadecimal.java
yanglbme Jan 30, 2019
4f1fcee
Update BinaryToHexadecimalTest.java
yanglbme Jan 30, 2019
fe277cf
Merge pull request #694 from arodriguez33/Development
yanglbme Jan 30, 2019
c7f8f77
conversion decimal to hexadecimal
arodriguez33 Jan 30, 2019
a3b4e14
Update DecimalToHexadecimal.java
yanglbme Jan 31, 2019
023ddee
Merge pull request #697 from arodriguez33/Development
yanglbme Jan 31, 2019
df085d0
arodriguez33 Feb 3, 2019
bf64bc6
Merge remote-tracking branch 'origin/Development' into Development
arodriguez33 Feb 3, 2019
edac7f3
Merge pull request #703 from arodriguez33/Development
yanglbme Feb 4, 2019
50c7ba4
Merge pull request #685 from darius-welsch/Development
yanglbme Feb 12, 2019
5c94611
Making the median calculating part safe from integer spillovers
crackCodeLogn Feb 12, 2019
5227629
Merge pull request #706 from crackCodeLogn/Development
yanglbme Feb 13, 2019
a023542
Addint type package to have interfaces to take benefit of polymorphis…
Feb 28, 2019
ed53bd0
Making Sort interface as functional interface to exhibit the nature a…
Feb 28, 2019
3551433
Merge pull request #710 from AnkitAtBrillio/local
yanglbme Mar 3, 2019
c8ee96d
Adding Linked List based General queue implementation
Mar 5, 2019
320b5de
Making changes into method as per Oracle specifications
Mar 5, 2019
5ce337f
Code changes to adhere to code best practices
Mar 5, 2019
37b99ff
Update GeneralQueue.java
yanglbme Mar 6, 2019
965c288
Update DataStructure.java
yanglbme Mar 6, 2019
481be62
Update Queue.java
yanglbme Mar 6, 2019
7f523ff
Merge pull request #712 from AnkitAtBrillio/local
yanglbme Mar 6, 2019
61bb8b3
Update DecimalToHexadecimalTest.java
yanglbme Mar 6, 2019
c2e2402
Update DecimalToOctalTest.java
yanglbme Mar 6, 2019
233f05d
Merge pull request #652 from LesliePinto89/Development
varunu28 Mar 11, 2019
7842c01
add BloomFilter
MrYangxf Mar 13, 2019
ee8147c
Merge pull request #714 from MrYangxf/Development
yanglbme Mar 13, 2019
01b0296
added an implementation of disjoint-set
MrYangxf Mar 15, 2019
822c91c
Merge pull request #716 from MrYangxf/Development
yanglbme Mar 15, 2019
5f22570
Adding Stack implementation along with test class
Mar 16, 2019
27753bb
Removing inheritance from Vector class
Mar 16, 2019
46df09a
Update Stack.java
yanglbme Mar 16, 2019
1093a49
Merge pull request #717 from AnkitAtBrillio/local
yanglbme Mar 16, 2019
e5b07eb
Update SimplexNoiseOctave.java
yanglbme Mar 22, 2019
09ed874
Update Base64.java
jvinodkumar Mar 24, 2019
2eec474
Add binary tree implementation with test
RicardoGuevara Mar 24, 2019
4721cff
made requested changes for binary tree implementation
RicardoGuevara Mar 25, 2019
9ee8039
Merge pull request #725 from RicardoGuevara/Development
yanglbme Mar 25, 2019
39806e3
Merge pull request #723 from jvinodkumar/Development
yanglbme Mar 31, 2019
7216f28
Added FastPower
DDullahan Apr 8, 2019
91c1992
Commit BinaryToGray
nbdgit Apr 14, 2019
3b72294
Commit BinaryToGrayTest
nbdgit Apr 14, 2019
6938c40
Create DepthFirstSearch.java
abircb Apr 15, 2019
4d9965c
Create DepthFirstSearchTest.java
abircb Apr 15, 2019
785b570
Update DepthFirstSearch.java
abircb Apr 16, 2019
230f04f
Apply suggestions from code review
havanagrawal May 2, 2019
c85caf5
fixed problems of code review from @havanagrawal
DDullahan May 3, 2019
f5754d3
Add StringBuilder class
nbdgit May 3, 2019
1bf9cf6
Added the algorithm and test for Exponential Search
abhijay94 May 8, 2019
46e52f4
Update SimplexNoiseTest.java
yanglbme May 9, 2019
37e6717
Merge pull request #750 from abhijay94/Development
yanglbme May 9, 2019
60bb026
Update ExponentialSearch.java
yanglbme May 9, 2019
8e8e14d
refactor: format code and fix typos
yanglbme May 10, 2019
0c015fc
Merge pull request #734 from nbdgit/Development
yanglbme May 10, 2019
184f644
update binaryToGray
yanglbme May 10, 2019
64bd1a1
Merge pull request #731 from DDullahan/Development
yanglbme May 10, 2019
fbffeb6
refactor: update FastPower
yanglbme May 10, 2019
1041b02
refactor: update FastPower
yanglbme May 10, 2019
cac1b0b
Delete FastPowerTest.java___jb_tmp___
yanglbme May 10, 2019
ada660a
refactor: update FastPower
yanglbme May 10, 2019
fa1503f
Apply suggestions from code review
abircb May 10, 2019
af6daf7
Merge pull request #737 from abircb/Development
yanglbme May 11, 2019
e5856e3
Revert "Added DepthFirstSearch.java and DepthFirstTestSearch.java"
yanglbme May 11, 2019
0276ccd
Merge pull request #751 from TheAlgorithms/revert-737-Development
yanglbme May 11, 2019
36f9779
Added the algorithm and test for Fibonacci Search
abhijay94 May 13, 2019
09c4cd7
Update FibonacciSearch.java
yanglbme May 13, 2019
e2a6b02
Merge pull request #753 from abhijay94/Development
yanglbme May 13, 2019
ea6c4e5
Added Singleton Design pattern implementation in Java and its test
abhijay94 May 14, 2019
4a3f871
Update src/test/java/com/designpatterns/singletonpattern/SingletonTes…
abhijay94 May 15, 2019
f01927d
Merge pull request #754 from abhijay94/Development
yanglbme May 15, 2019
43d4722
Added Factory Design pattern implementation in Java and its test
abhijay94 May 15, 2019
c29640e
Update src/test/java/com/designpatterns/factorypattern/PolygonFactory…
abhijay94 May 16, 2019
c11a061
Update src/test/java/com/designpatterns/factorypattern/PolygonFactory…
abhijay94 May 16, 2019
77881f6
Update src/test/java/com/designpatterns/factorypattern/PolygonFactory…
abhijay94 May 16, 2019
6ffb2d5
Update src/test/java/com/designpatterns/factorypattern/PolygonFactory…
abhijay94 May 16, 2019
321ebea
Update src/test/java/com/designpatterns/factorypattern/PolygonFactory…
abhijay94 May 16, 2019
616d5cf
Update src/test/java/com/designpatterns/factorypattern/PolygonFactory…
abhijay94 May 16, 2019
21f8200
Merge pull request #756 from abhijay94/Development
yanglbme May 16, 2019
b532d70
Added Builder Design pattern implementation in Java and its test
abhijay94 May 16, 2019
6458e31
Merge pull request #757 from abhijay94/Development
yanglbme May 17, 2019
ee985d5
Added a sub-package for "creational" in order to organize the code be…
abhijay94 May 21, 2019
04f6924
Merge pull request #762 from abhijay94/Development
yanglbme May 21, 2019
ba90059
Added the prototype pattern and its unit test
abhijay94 May 21, 2019
4fd7698
Updated SimpleNoise test to use org.juint.Assert instead of jupiter
abhijay94 May 21, 2019
132060f
Merge branch 'Development' into Development
abhijay94 May 21, 2019
d8bfa59
Merge pull request #763 from abhijay94/Development
yanglbme May 22, 2019
b6772c5
Cast the second operand of Math.pow to double
abhijay94 May 22, 2019
5358f8d
Added space after typecast expression
abhijay94 May 22, 2019
c25da3c
Update src/main/java/com/generation/SimplexNoise.java
abhijay94 May 23, 2019
3f9ff6e
Prevent the byte from getting automatically promoted
abhijay94 May 23, 2019
4456658
Merge remote-tracking branch 'origin/Development' into Development
abhijay94 May 23, 2019
ceae5ee
Merge pull request #766 from abhijay94/Development
yanglbme May 23, 2019
8841314
Added the code for Abstract factory pattern implementation and its un…
abhijay94 May 24, 2019
7e33042
@Test annotated methods must be public. Removed the annotation and ma…
abhijay94 May 24, 2019
fc42159
Merge pull request #767 from abhijay94/Development
yanglbme May 24, 2019
13a0883
Update Sha2Test.java
yanglbme May 24, 2019
afe5d24
Added adapter pattern and its test case
abhijay94 May 27, 2019
a7a9abd
Corrected the package for the JUnit
abhijay94 May 27, 2019
c31c39a
Removed usage of BigInteger constructor for constants
abhijay94 May 28, 2019
837f635
Merge pull request #769 from abhijay94/Development
yanglbme May 29, 2019
d579b8e
feat: Add Maven frameworks support.
laingke Jul 19, 2019
87693f0
fix: Correct the package path and reference
laingke Jul 19, 2019
d6002f8
docs: update README
laingke Jul 19, 2019
3750999
Merge pull request #795 from laingke/Development
yanglbme Aug 27, 2019
98982f8
Converting to a gradle project
renjithgr Sep 28, 2019
6c8151f
Merge pull request #902 from renjithgr/Development
yanglbme Sep 28, 2019
5d79026
adds proxy design pattern.
ali4j Nov 3, 2019
6ad2c9f
Merge pull request #1178 from ali4j/Development
yanglbme Nov 28, 2019
e30d115
removes the Citizen class in src directory.
ali4j Nov 28, 2019
45fee18
adds commit to the President class.
ali4j Nov 28, 2019
56b374c
Fixed 'Generics' issue of bubble sort since Sort class should accept
Dec 7, 2019
5ec13c6
Merge pull request #1180 from myidrajkumar/Development
yanglbme Dec 8, 2019
15d0f56
Merge pull request #2 from TheAlgorithms/Development
ali4j Dec 11, 2019
c52e12a
commits decorator design pattern.
ali4j Dec 13, 2019
59eb36e
commits tests for testing decorator pattern.
ali4j Dec 13, 2019
78f7a80
adds new test for testing encoding and compressing email.
ali4j Dec 14, 2019
3fe20e3
Merge pull request #1186 from ali4j/Development
yanglbme Dec 15, 2019
f015210
Add simple gradle workflow
myronrotter Jan 4, 2020
8b416b1
Merge pull request #1199 from myronrotter/Development
yanglbme Jan 12, 2020
573b1ce
Update Maven URL from HTTP to HTTPS
leny-mi Mar 7, 2020
2d4d7dd
Rewrote Stack.java
leny-mi Mar 7, 2020
d678fae
Merge pull request #1240 from leny-mi/Development
yanglbme Mar 15, 2020
f3f2661
Solve the Optimize method flip in SortUtils #1246
Mar 17, 2020
7b1c328
fix a bug #1250
Mar 18, 2020
fc75a15
Implement ternary search
Mar 23, 2020
9086252
Merge pull request #1256 from BenceLakos/feature/ternary
StepfenShawn Apr 18, 2020
f82bf1a
Add singly linked list
MohamedBechir Apr 28, 2020
a3c111b
Merge pull request #1288 from MohamedBechir/Development
anirudhmurali Apr 29, 2020
c6c6fff
IntQueue
iheb1196 Apr 29, 2020
6111fb7
Merge pull request #1289 from iheb1196/Development
anirudhmurali Apr 29, 2020
4690efb
Merge pull request #1247 from BanQiaoGeXia/Development
StepfenShawn May 6, 2020
2567859
CaesarBruteForce
SageTendo May 8, 2020
8426bed
Merge pull request #1307 from SageTendo/Development
StepfenShawn May 10, 2020
ccf5065
Add HexadecimalToDecimal conversion
MohamedBechir May 25, 2020
724ff7e
Add Hexadecimal to binary conversion
MohamedBechir May 25, 2020
fd24ffc
Fix requested changes
MohamedBechir May 25, 2020
9ee9612
Take into consideration hexadecimal numbers with floating point
MohamedBechir May 25, 2020
9f8abb0
Merge pull request #1328 from MohamedBechir/Development
deadshotsb May 25, 2020
17ae1c6
add junit for test paass
alai32002 Jun 4, 2020
bf223bb
Merge pull request #1341 from alai32002/Development
deadshotsb Jun 7, 2020
36e23bb
Added LFU cache implementation
tanmaylaud Jul 26, 2020
80b765b
Merge pull request #1371 from tanmaylaud/Development
StepfenShawn Jul 27, 2020
5466ff0
Added LRU cache implementation.
Aug 2, 2020
56a527a
Merge pull request #1385 from varnaa/Development
StepfenShawn Aug 2, 2020
7fbf8f2
Removed code smells and followed naming convention
abhijaykumar Aug 21, 2020
57c1967
Added constant for string literal - code smell
abhijaykumar Aug 21, 2020
6aecb37
Removing unused generic variable - code smell
abhijaykumar Aug 21, 2020
2d797fb
Corrected code smells with raw type and dangling else block
abhijaykumar Aug 21, 2020
e55f994
Merge pull request #1429 from abhijaykumar/Development
realDuYuanChao Aug 25, 2020
e7304d3
Revert "Fixed code smells after running sonarqube on the project"
realDuYuanChao Aug 25, 2020
84914c8
Merge pull request #1432 from TheAlgorithms/revert-1429-Development
realDuYuanChao Aug 25, 2020
60c77e5
Added cache type params to avoid build error on jdk8
abhijaykumar Aug 25, 2020
32b02af
Merge branch 'Development' of https://github.com/TheAlgorithms/Java i…
abhijaykumar Aug 25, 2020
dd3b2d2
Fixed code smells detected by SonarQube - PR#1429
abhijaykumar Aug 25, 2020
dcdd17d
Merge pull request #1433 from abhijaykumar/Development
realDuYuanChao Aug 25, 2020
87485b0
Revert "Revert "Fixed code smells after running sonarqube on the proj…
realDuYuanChao Aug 25, 2020
452fa56
Merge pull request #1434 from TheAlgorithms/revert-1432-revert-1429-D…
realDuYuanChao Aug 25, 2020
8e94826
actions on pull requests
realDuYuanChao Sep 17, 2020
18b2930
Merge pull request #1464 from shellhub/Development
realDuYuanChao Sep 17, 2020
bdaabbb
fixed syntax error
realDuYuanChao Sep 17, 2020
3c71071
Merge pull request #1465 from shellhub/Development
realDuYuanChao Sep 17, 2020
72efcaa
Implementation for Round Robin Algorithm in Java with tests
geogiadim Sep 16, 2020
be160de
format code
realDuYuanChao Sep 17, 2020
56a611a
Merge pull request #1462 from geogiadim/Development
realDuYuanChao Sep 17, 2020
b9dcb85
convolution, FFT, Bluestein's FFT, circular convolution and linear co…
Sep 24, 2020
f4f0dfd
Incorporate the class Alphabetical from string package
JackZeled0n Oct 24, 2020
4591884
Merge pull request #1925 from JackZeled0n/Development
realDuYuanChao Oct 24, 2020
546bc3f
Add New String Interleave Class and Tests (#2032)
pdsla112 Nov 18, 2020
1012ff7
ReverseWord & ReverseWordsTest (#2022)
loveshdongre Nov 22, 2020
8eb27d7
Added Ackermann function (#794)
k-lukaszewicz Nov 22, 2020
09765b8
Incorporate the class Upper from string package (#1952)
JackZeled0n Dec 1, 2020
bd60e13
Fix ReverseWords class and test (#2077)
JackZeled0n Jan 4, 2021
da85d41
Merge remote-tracking branch 'origin/Development' into Development
Feb 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions .classpath

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Java gradle CI

on:
push:
branches:
- Development
pull_request:
branches:
- Development

jobs:
test:
name: Test algorithms
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
java-version: [1.8, 11]
runs-on: ${{ matrix.os }}

steps:
- name: Checkout project
uses: actions/checkout@v2
with:
ref: Development
- name: Set up jdk
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- name: JUnit5 tests on ubuntu
if: startsWith(matrix.os, 'ubuntu')
run: |
chmod +x gradlew
./gradlew clean test
- name: JUnit5 tests on macos
if: startsWith(matrix.os, 'macos')
run: |
chmod +x gradlew
./gradlew clean test
- name: JUnit5 tests on windows
if: startsWith(matrix.os, 'windows')
run: gradle clean test
16 changes: 15 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
/bin/
.settings

.classpath
.project

Java.iml
.idea/*
out/
*.iml

.gradle

bin
target
build
17 changes: 0 additions & 17 deletions .project

This file was deleted.

211 changes: 0 additions & 211 deletions ClosestPair/ClosestPair.java

This file was deleted.

12 changes: 0 additions & 12 deletions ClosestPair/closest_data.txt

This file was deleted.

Binary file removed Compression/bin/HEncoder$Node$Nodecomparator.class
Binary file not shown.
Binary file removed Compression/bin/HEncoder$Node.class
Binary file not shown.
Binary file removed Compression/bin/HEncoder.class
Binary file not shown.
Binary file removed Compression/bin/compressclient.class
Binary file not shown.
Binary file removed Compression/bin/genericheap.class
Binary file not shown.
Loading