Commit Graph

30 Commits

Author SHA1 Message Date
77c4799317 Added prime number generator 2020-10-29 10:36:05 -04:00
adf0a78ab6 Added functions to reset and get time from duration 2020-07-19 15:32:32 -04:00
1789aa1b81 Stopwatch can now be concat to a string without
any extra function calls
2020-02-02 11:23:16 -05:00
df9a7cee82 Fixed bug where the incorect time may be given
when using the getString function
2019-08-02 15:32:46 -04:00
0053c930a1 Added file to test the Stopwatch class 2019-03-29 13:34:18 -04:00
7b3e976418 Changed getString to return minutes when >= 120
seconds and hours when >= 120 minutes rather than 1000
2019-03-29 13:07:57 -04:00
0ea837d86c Removed some unnecesary code 2019-03-25 12:29:07 -04:00
fd858c5249 Added a function that gets all permutations of a
string
2019-03-24 16:29:13 -04:00
97e6d1477a Fixed bug in fix of getDivisors two number bug 2019-03-22 18:25:40 -04:00
0e19945c84 Fixed a bug in getDivisors where a number could
be added twice
2019-03-22 17:50:24 -04:00
b87d4e1e52 Added examples to the README file 2019-03-02 14:28:56 -05:00
a4f40838bf Added a license to this project 2019-03-02 13:58:29 -05:00
5c9ff778bb Created a test script for my algorithms 2019-03-02 13:55:15 -05:00
44c89f144d Updated to fix a few small bugs 2019-03-02 13:54:44 -05:00
Matthew Ellison
d8a3558dae Added prod() that multiplies all elements in a list together 2019-02-09 15:12:08 -05:00
Matthew Ellison
6753a98502 Added getHours() and getString() that automatically chooses resolution 2019-02-09 12:56:18 -05:00
Matthew Ellison
674b62b671 Fixed bug in getAllFib function 2019-02-09 12:54:32 -05:00
Matthew Ellison
2e149da67a Added 2 functions for finding Fibonacci numbers 2019-02-09 12:07:18 -05:00
e4b59ed7c3 Fixed a but where 2 was not being added to the prime numbers 2019-02-04 20:34:11 -05:00
6d7505ce9e Added a getMinutes function and rearanged the get_ functions 2019-02-01 10:43:50 -05:00
66c2b8ab53 Added a getMinutes function and rearange the get_ functions 2019-02-01 10:42:59 -05:00
e4c47129b9 Updated to remove a potential bug in the getDivisors function 2019-01-31 12:20:57 -05:00
e9fa256b98 Added a function to return the divisors of a number 2019-01-31 12:10:51 -05:00
ad7a69ebc4 Updated getPrimes and getNumPrimes to improve efficiency 2019-01-30 21:33:32 -05:00
681a709e19 Updated to correct date 2019-01-29 01:14:41 -05:00
9acbf213b9 Added an algorithm that returns a certain number of prime numbers 2019-01-29 00:49:47 -05:00
20ee2d060d Fixed bug where getFactos prints error message when goalNumber is prime 2019-01-28 13:12:52 -05:00
18711e0b43 Fixed problem with getFactos that always adds goalNumber to factors 2019-01-28 13:00:07 -05:00
4557ad07db First commit 2019-01-28 10:15:59 -05:00
339697124e Initial commit 2019-01-28 14:48:32 +00:00