68 Commits

Author SHA1 Message Date
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
19176d9ede rename file 2020-08-26 21:40:48 +08:00
94bb2088be Update Maths/Armstrong.java 2020-08-26 00:12:00 +08:00
6356db0b97 * rename file
* create strings directory
* fix docs
* add test
2020-08-26 00:05:11 +08:00
c771089882 test using rand numbers 2020-08-23 12:40:30 +08:00
d6947d0fbd Merge pull request #1426 from shellhub/dev
Added AliquotSum and Median
2020-08-21 00:02:21 +08:00
34869cb5cb optimization 2020-08-21 00:00:48 +08:00
8c5ec652f6 * add AliquotSum
* add Median
2020-08-20 23:26:06 +08:00
bbe6f9410c Apply suggestions from code review
Co-authored-by: Du Yuanchao <shellhub.me@gmail.com>
2020-08-20 15:25:10 +02:00
cccc898ba1 Create Mode.java
For finding the mode of an array of numbers
2020-08-20 11:18:36 +02:00
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
9486101fb6 Revert "Create FindAverage.java"
This reverts commit 5070a0bb28322d8562fd964baad4b9cb3917aebd.
2020-08-18 09:41:32 +08:00
5070a0bb28 Create FindAverage.java
add a findAverage java file in maths directory
2020-08-17 11:16:11 +08:00
ea43d70f3e Merge pull request #1417 from rbshealy/master
Add PythagoreanTriple.java and Add assert statements
2020-08-16 23:22:54 +08:00
9a31b960ff Fix array initialization 2020-08-16 11:21:16 -04:00
ae5536bddc Fix array initialization 2020-08-16 11:20:38 -04:00
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
1420e2d851 * add LucasSeries
* add PerfectCube
* PerfectSquare
2020-08-16 21:16:08 +08:00
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
3e169010fe add average 2020-08-16 13:58:14 +08:00
5e6c5a3861 Calculate area of various geometric shapes 2020-08-16 13:34:48 +08:00
f2b50c0e6c duplicate with NumberOfDigits.java 2020-08-16 11:55:25 +08:00
22e2e74bf8 add NumberOfDigits 2020-08-12 22:53:08 +08:00
6079b4bc10 * reduce code
* add function overriding
* update test
2020-08-10 16:52:06 +08:00
de4b2be8af Use public class 2020-07-31 11:44:09 +08:00
7f944d93dd updated with Maths package 2020-07-26 21:36:19 +05:30
da29549d67 updated with Maths package 2020-07-26 21:32:32 +05:30
ce5ca17381 Update for zero and negative numbers 2020-07-26 01:31:34 +05:30
e68334330e Added Count Digit program 2020-07-25 21:49:11 +05:30
7179718df2 Update ParseInteger.java
Fixed error for empty string.
2020-06-09 08:40:46 +02:00
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
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
bcf808a238 Update VampireNumber.java 2020-05-12 17:01:38 -05:00
cce363d6ef Merge pull request #1251 from wendelllsc/patch-1
Using Try/catch and recursion
2020-05-11 22:53:24 +08:00
4deae1ec3b Merge pull request #1301 from BenSchokoRiegel/master
Implementing AmicableNumber and VampireNumbers in the Math class
2020-05-11 11:20:18 +08:00
f6d67253e3 Added indentation in the "main" function statement block 2020-05-08 10:38:05 +05:30
f44f2c176b added comment in front of main method 2020-05-07 20:28:31 +05:30
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
d41fc15257 Create PrimeFactorization.java 2020-05-04 20:42:16 +02:00
e5ad1f2ef0 Using Try/catch and recursion
Adding try/catch and recursion to optimize the code
2020-03-17 23:05:27 -03:00
a1f59c38b1 Closing scanners. 2020-01-28 18:34:52 +02:00
4f45c5a479 Fixing packages. 2020-01-28 18:18:15 +02:00
79d29c0bd3 Comment revisions 2019-12-10 23:35:54 -05:00
e08408ca11 fix: update FindMin and fix #1170 2019-11-19 16:40:29 +08:00
e141a33fa7 FibonacciNumber 2019-10-29 12:40:39 +08:00