Commit Graph

779 Commits

Author SHA1 Message Date
Abhijay Kumar
4456658f82 Merge remote-tracking branch 'origin/Development' into Development 2019-05-23 12:07:44 +05:30
Abhijay Kumar
3f9ff6e3b5 Prevent the byte from getting automatically promoted 2019-05-23 12:07:30 +05:30
Abhijay Kumar
c25da3ce97
Update src/main/java/com/generation/SimplexNoise.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-23 09:40:46 +05:30
Abhijay Kumar
5358f8ddc9
Added space after typecast expression
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-23 00:21:14 +05:30
Abhijay Kumar
b6772c5fb1 Cast the second operand of Math.pow to double 2019-05-22 12:49:33 +05:30
Libin Yang
d8bfa59b14
Merge pull request #763 from abhijay94/Development
Added the prototype pattern and its unit test
2019-05-22 08:52:22 +08:00
Abhijay Kumar
132060f078
Merge branch 'Development' into Development 2019-05-21 14:26:32 +05:30
Abhijay Kumar
4fd7698fd2 Updated SimpleNoise test to use org.juint.Assert instead of jupiter 2019-05-21 14:21:25 +05:30
Abhijay Kumar
ba90059624 Added the prototype pattern and its unit test 2019-05-21 14:14:43 +05:30
Libin Yang
04f6924ec5
Merge pull request #762 from abhijay94/Development
Added a sub-package for "creational" in order to organize the code
2019-05-21 14:57:10 +08:00
Abhijay Kumar
ee985d510b Added a sub-package for "creational" in order to organize the code better 2019-05-21 11:37:16 +05:30
Libin Yang
6458e31c45
Merge pull request #757 from abhijay94/Development
Added Builder Design pattern implementation in Java and its test
2019-05-17 18:14:50 +08:00
Abhijay Kumar
b532d70716 Added Builder Design pattern implementation in Java and its test 2019-05-16 16:05:27 +05:30
Libin Yang
21f82001dd
Merge pull request #756 from abhijay94/Development
Added Factory pattern implementation in Java and its test
2019-05-16 15:42:51 +08:00
Abhijay Kumar
616d5cfcc8
Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-16 13:05:49 +05:30
Abhijay Kumar
321ebea864
Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-16 13:05:42 +05:30
Abhijay Kumar
6ffb2d5b4e
Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-16 13:05:13 +05:30
Abhijay Kumar
77881f67fd
Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-16 13:05:06 +05:30
Abhijay Kumar
c11a0611a0
Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-16 13:04:56 +05:30
Abhijay Kumar
c29640e0e2
Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-16 13:04:41 +05:30
Abhijay Kumar
43d47225be Added Factory Design pattern implementation in Java and its test 2019-05-15 17:17:37 +05:30
Libin Yang
f01927dcb3
Merge pull request #754 from abhijay94/Development
Added Singleton Design pattern implementation in Java and its test
2019-05-15 16:03:23 +08:00
Abhijay Kumar
4a3f871218
Update src/test/java/com/designpatterns/singletonpattern/SingletonTest.java
Removed println statement

Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-15 13:31:07 +05:30
Abhijay Kumar
ea6c4e5a8a Added Singleton Design pattern implementation in Java and its test 2019-05-14 14:54:50 +05:30
Libin Yang
e2a6b024b1
Merge pull request #753 from abhijay94/Development
Added the algorithm and test for Fibonacci Search
2019-05-13 21:30:17 +08:00
Libin Yang
09c4cd790f
Update FibonacciSearch.java
Add single space after `//`
2019-05-13 21:29:00 +08:00
Abhijay Kumar
36f977936d Added the algorithm and test for Fibonacci Search 2019-05-13 16:36:38 +05:30
Libin Yang
0276ccd903
Merge pull request #751 from TheAlgorithms/revert-737-Development
Revert "Added DepthFirstSearch.java and DepthFirstTestSearch.java"
2019-05-11 09:53:11 +08:00
Libin Yang
e5856e329f
Revert "Added DepthFirstSearch.java and DepthFirstTestSearch.java" 2019-05-11 09:52:38 +08:00
Libin Yang
af6daf7af6
Merge pull request #737 from abircb/Development
Added DepthFirstSearch.java and DepthFirstTestSearch.java
2019-05-11 09:42:32 +08:00
Abir Bhushan
fa1503fa77
Apply suggestions from code review
Update DepthFirstSearch.java - signature removed, and whitespaces resolved

Co-Authored-By: Libin Yang <contact@yanglibin.info>
2019-05-10 19:48:02 +01:00
Libin Yang
ada660a4c3
refactor: update FastPower 2019-05-10 15:43:36 +08:00
Libin Yang
cac1b0b4c7
Delete FastPowerTest.java___jb_tmp___ 2019-05-10 15:42:55 +08:00
Libin Yang
1041b02e6b
refactor: update FastPower 2019-05-10 15:42:08 +08:00
yanglbme
fbffeb658c refactor: update FastPower 2019-05-10 15:39:18 +08:00
Libin Yang
64bd1a147e
Merge pull request #731 from DDullahan/Development
Added FastPower
2019-05-10 15:34:11 +08:00
yanglbme
184f644bd7 update binaryToGray 2019-05-10 15:16:01 +08:00
Libin Yang
0c015fc605
Merge pull request #734 from nbdgit/Development
Added Binary to Gray code conversion
2019-05-10 15:12:14 +08:00
yanglbme
8e8e14d1c2 refactor: format code and fix typos 2019-05-10 14:49:24 +08:00
Libin Yang
60bb026f8a
Update ExponentialSearch.java 2019-05-09 20:33:46 +08:00
Libin Yang
37e6717be9
Merge pull request #750 from abhijay94/Development
Added the algorithm and test cases for Exponential Search
2019-05-09 20:32:45 +08:00
Libin Yang
46e52f4378
Update SimplexNoiseTest.java 2019-05-09 16:34:58 +08:00
Abhijay Kumar
1bf9cf6019 Added the algorithm and test for Exponential Search 2019-05-08 13:51:07 +05:30
Nilanjan
f5754d3aef
Add StringBuilder class 2019-05-03 22:16:06 +05:30
DDullahan
c85caf50d6 fixed problems of code review from @havanagrawal
7216f28cb3
2019-05-03 08:56:07 +08:00
Havan Agrawal
230f04f614
Apply suggestions from code review
Co-Authored-By: nbdgit <48550673+nbdgit@users.noreply.github.com>
2019-05-03 00:31:43 +05:30
Abir Bhushan
785b570167
Update DepthFirstSearch.java 2019-04-16 19:39:26 +01:00
Abir Bhushan
4d9965cb94
Create DepthFirstSearchTest.java
this test is created for the DepthFirstSearch.java file- that I added- containing the DepthFirstSearch algorithm
2019-04-15 11:38:59 +01:00
Abir Bhushan
6938c409f9
Create DepthFirstSearch.java 2019-04-15 11:14:22 +01:00
nbdgit
3b72294f25 Commit BinaryToGrayTest 2019-04-14 16:56:52 +05:30