Commit Graph

71 Commits

Author SHA1 Message Date
github-actions
6ebb159327 Formatted with Google Java Formatter 2020-11-16 01:40:56 +00:00
Lakhan Nad
1b828269dc
Added Binary Exponentiation Fixes:#1943 (#1945)
* Added Binary Exponentiation Fixes:#1943

* tests added in Binary Exponentation #1945

* Assertion Added
2020-11-16 07:10:16 +05:30
github-actions
5d59a2e828 Formatted with Google Java Formatter 2020-10-24 10:23:28 +00:00
shellhub
4ab05480e2 * Added arithmetic series
* Fixed compare two double
* Fiexed documentation
2020-09-13 12:16:19 +08:00
=
5606a8de0a update Java/Maths/PrimeFactorization.java 2020-08-27 20:31:49 +08:00
shellhub
19176d9ede rename file 2020-08-26 21:40:48 +08:00
Du Yuanchao
94bb2088be
Update Maths/Armstrong.java 2020-08-26 00:12:00 +08:00
shellhub
6356db0b97 * rename file
* create strings directory
* fix docs
* add test
2020-08-26 00:05:11 +08:00
shellhub
c771089882 test using rand numbers 2020-08-23 12:40:30 +08:00
Du Yuanchao
d6947d0fbd
Merge pull request #1426 from shellhub/dev
Added AliquotSum and Median
2020-08-21 00:02:21 +08:00
shellhub
34869cb5cb optimization 2020-08-21 00:00:48 +08:00
shellhub
8c5ec652f6 * add AliquotSum
* add Median
2020-08-20 23:26:06 +08:00
gijsh21
bbe6f9410c
Apply suggestions from code review
Co-authored-by: Du Yuanchao <shellhub.me@gmail.com>
2020-08-20 15:25:10 +02:00
gijsh21
cccc898ba1
Create Mode.java
For finding the mode of an array of numbers
2020-08-20 11:18:36 +02:00
rabbit
94a65964d8 Update Average.java
1. add int type array
2. The equality of floating-point numbers should be judged by the absolute value of the difference less than a small number
2020-08-18 09:50:59 +08:00
rabbit
9486101fb6 Revert "Create FindAverage.java"
This reverts commit 5070a0bb28.
2020-08-18 09:41:32 +08:00
rabbit
5070a0bb28 Create FindAverage.java
add a findAverage java file in maths directory
2020-08-17 11:16:11 +08:00
Stepfen Shawn
ea43d70f3e
Merge pull request #1417 from rbshealy/master
Add PythagoreanTriple.java and Add assert statements
2020-08-16 23:22:54 +08:00
Ray S
9a31b960ff
Fix array initialization 2020-08-16 11:21:16 -04:00
Ray S
ae5536bddc
Fix array initialization 2020-08-16 11:20:38 -04:00
shellhub
b4839c2c07 Added SumOfDigits 2020-08-16 23:04:34 +08:00
Ray
16057164a6 Add assert statement 2020-08-16 10:46:39 -04:00
Ray
918189ec20 Add PythagoreanTriple.java 2020-08-16 10:32:10 -04:00
shellhub
1420e2d851 * add LucasSeries
* add PerfectCube
* PerfectSquare
2020-08-16 21:16:08 +08:00
shellhub
96345ad634 * factorial using using iteration
* add ceil() to maths
* add combinations() to maths
* add floor() to maths
2020-08-16 19:58:48 +08:00
shellhub
3e169010fe add average 2020-08-16 13:58:14 +08:00
shellhub
5e6c5a3861 Calculate area of various geometric shapes 2020-08-16 13:34:48 +08:00
shellhub
f2b50c0e6c duplicate with NumberOfDigits.java 2020-08-16 11:55:25 +08:00
shellhub
22e2e74bf8 add NumberOfDigits 2020-08-12 22:53:08 +08:00
shellhub
6079b4bc10 * reduce code
* add function overriding
* update test
2020-08-10 16:52:06 +08:00
Stepfen Shawn
de4b2be8af
Use public class 2020-07-31 11:44:09 +08:00
Utsav1999
7f944d93dd updated with Maths package 2020-07-26 21:36:19 +05:30
Utsav1999
da29549d67 updated with Maths package 2020-07-26 21:32:32 +05:30
Utsav1999
ce5ca17381 Update for zero and negative numbers 2020-07-26 01:31:34 +05:30
Utsav1999
e68334330e Added Count Digit program 2020-07-25 21:49:11 +05:30
lollerfirst
7179718df2
Update ParseInteger.java
Fixed error for empty string.
2020-06-09 08:40:46 +02:00
Maria Lungeanu
a5f42e293b Fixed Error:(6, 8) java: class algorithm is public, should be declared in a file named algorithm.java. Inside file PrimeFactorization, the name of public class was wrong. 2020-05-25 00:21:28 +03:00
Maria Lungeanu
63e5ce4c8f Fixed Error:(6, 8) java: class algorithm is public, should be declared in a file named algorithm.java. Inside file PrimeFactorization, the name of public class was wrong. 2020-05-14 19:36:06 +03:00
Stepfen Shawn
bcf808a238
Update VampireNumber.java 2020-05-12 17:01:38 -05:00
Stepfen Shawn
cce363d6ef
Merge pull request #1251 from wendelllsc/patch-1
Using Try/catch and recursion
2020-05-11 22:53:24 +08:00
Stepfen Shawn
4deae1ec3b
Merge pull request #1301 from BenSchokoRiegel/master
Implementing AmicableNumber and VampireNumbers in the Math class
2020-05-11 11:20:18 +08:00
Vikrant khedkar
f6d67253e3
Added indentation in the "main" function statement block 2020-05-08 10:38:05 +05:30
Vikrant Khedkar
f44f2c176b added comment in front of main method 2020-05-07 20:28:31 +05:30
Vikrant Khedkar
1c062e2c7a added scanner in factorail program 2020-05-07 19:30:58 +05:30
ben
082f104978 Finish both AmicableNumbers and VampireNumbers 2020-05-05 00:15:17 +02:00
ben
e59fc81075 Finish both AmicableNumbers and VampireNumbers 2020-05-05 00:13:08 +02:00
VTolas
d41fc15257
Create PrimeFactorization.java 2020-05-04 20:42:16 +02:00
Wendell Lucas
e5ad1f2ef0
Using Try/catch and recursion
Adding try/catch and recursion to optimize the code
2020-03-17 23:05:27 -03:00
Hassan
a1f59c38b1 Closing scanners. 2020-01-28 18:34:52 +02:00
Hassan
4f45c5a479 Fixing packages. 2020-01-28 18:18:15 +02:00