Commit Graph

148 Commits

Author SHA1 Message Date
PatOnTheBack
376a67cafb Create abs.js
This script calculates absolute value.
2019-07-02 09:35:06 -04:00
PatOnTheBack
759e81df1f Create factorial.js
This program calculates and displays the factorial for a user-input number.
2019-07-02 09:19:44 -04:00
PatOnTheBack
61ea916bd9 Create average_mean.js 2019-07-01 15:07:01 -04:00
PatOnTheBack
6960272374 Create find_lcm.js
- Created find_lcm.js
- Created maths folder
2019-07-01 14:35:50 -04:00
PatOnTheBack
f37cac8508 Fixed Whitespace, Operators, and Quotes to Comply with JSLint
I modified the whitespace in the files and changed single quotes to double quotes.

I also changed some `==` and `!=` operators to `===` and `!==` to comply with JSLint.
2019-06-27 10:41:44 -04:00
Libin Yang
2c1cd5595a Merge pull request #86 from Mavroian/master
Add Jump Search Algorithm
2019-05-11 10:15:52 +08:00
Libin Yang
695ac54df2 Update jumpSearch.js 2019-05-11 10:13:32 +08:00
mavroian
e92c4ae40a Added JumpSearch algorithm 2019-05-10 17:43:44 +09:00
mavroian
46eca98c72 Added Jump Search to readme.md 2019-05-10 17:43:13 +09:00
Ravi Patel
f76f615556 Added SHA-1 and SHA-256 hashing algorithms (#83)
* Added SHA-1 and SHA-256 hashing algorithms

* Fixed typos in comments

* Removed redundant unsigned integer casting
2019-05-06 18:40:13 +03:00
Anup Kumar Panwar
9bcf32a1e2 Merge pull request #84 from ntedgi/graph-based-algorithems
adding Graph data structure
2019-05-02 17:33:47 +05:30
naor
b2abfc24e3 adding Graph data structure 2019-05-02 12:53:40 +03:00
Akarsh
4b47c0661b Add wiggle sort 2019-04-25 21:58:03 +05:30
Mohit Sharma
ad001c44b9 Merge pull request #73 from AlexDvorak/master
added DecimalToHex
2019-03-21 12:06:59 +05:30
Mohit Sharma
2450f24c50 Merge pull request #80 from winsonrich/patch-6
Update keyFinder.js
2019-03-21 12:05:09 +05:30
Alex
8a356cd839 fixed alert 2019-02-24 15:06:59 -06:00
Alex
97ac1c3d24 fixed and added test cases 2019-02-24 15:00:42 -06:00
Wan Cheuk Lun
2445600a53 Update keyFinder.js
Add some key words to the wordbank to increase the chance of the matching.
2018-10-31 17:08:24 +08:00
Wan Cheuk Lun
75d7ef53dc Update keyFinder.js
Finally, there are several changes in the function keyFinder(str) that make it works well
2018-10-31 16:54:20 +08:00
Wan Cheuk Lun
fed5d517fd Update keyFinder.js
a sub-function is used to assist the keyfinder to find the key
2018-10-31 10:36:52 +08:00
Wan Cheuk Lun
a93d5cfe67 Update keyFinder.js
1. modified the identifiers and used the suitable identifiers for the variables
2. leave the loop when a key is match and found to increase the speed of searching in this stage of development
3. return the key number if founded, return 0 if found nothing
2018-10-31 10:10:17 +08:00
Wan Cheuk Lun
6c894a2aa5 Update keyFinder.js
modified used the suitable identifier for the variables
2018-10-31 09:47:06 +08:00
Mohit Sharma
9cabd462ec Merge pull request #78 from winsonrich/patch-4
Create keyFinder.js
2018-10-30 15:11:05 +05:30
Wan Cheuk Lun
7a04d2ad86 Update keyFinder.js
Made 2 changes to optimize the match results:
1. use a loop to find the next digit of wordbank element and compare with outStr's digit
2. this part need to be optimize with the calculation of the number of occurance of word's probabilities
2018-10-30 11:20:32 +08:00
Wan Cheuk Lun
e41ad76298 Update keyFinder.js
some changes is made to optimize the function
2018-10-27 12:29:36 +08:00
Wan Cheuk Lun
e0fa99b2fd Update keyFinder.js
optimized the indentation for the if statement in line 18
2018-10-27 11:13:15 +08:00
Wan Cheuk Lun
5a75bcae52 Rename keyFinder to keyFinder.js 2018-10-27 10:38:07 +08:00
Wan Cheuk Lun
633105633b Create keyFinder
Find and retrieve the encryption key automatically 
Note: This is a draft version, please help to modify, Thanks!
2018-10-25 20:15:11 +08:00
Alex Brown
3e47ca62c0 deleted checksums 2018-10-23 13:25:13 -05:00
Mohit Sharma
7b82729d7e Merge pull request #64 from KuLi/bucket_sort
Implemented bucket sort algorithm
2018-10-23 10:49:45 +05:30
Mohit Sharma
9f7639e498 Merge pull request #74 from KuLi/cycleSort
Implemented cycle sort algorithm
2018-10-23 09:43:08 +05:30
KuLi
7a814932a4 Implemented cycle sort algorithm 2018-10-22 19:27:31 +02:00
Alex Brown
f44fdc7dd0 added luhn's checksum algorithm 2018-10-21 18:57:20 -05:00
Alex Brown
31d5467ada added DecimalToHex 2018-10-20 15:35:49 -05:00
Parth Shandilya
2d503575f6 Merge pull request #66 from ParthS007/patch
Added Missing declaration
2018-10-19 13:28:48 +05:30
ParthS007
348919a066 Added Missing declaration 2018-10-19 13:07:13 +05:30
Mohit Sharma
120947a7ca Merge pull request #65 from KuLi/combSort
Implemented comb sort algorithm
2018-10-18 20:57:20 +05:30
KuLi
3afb902885 Implemented comb sort algorithm 2018-10-18 16:58:37 +02:00
KuLi
9cd9b16bee Implemented bucket sort algorithm 2018-10-17 19:23:59 +02:00
Parth Shandilya
988572e5bb Merge pull request #63 from ParthS007/patch
Fixes#62 : Added Declaration for Local Variable
2018-10-17 01:13:12 +05:30
ParthS007
b96bab7fe1 Added Declaration for Local Variable 2018-10-16 19:11:21 +05:30
Mohit Sharma
63049b8763 Merge pull request #61 from olshansky/feat/counting-sort
feat: add counting and flash sorts
2018-10-14 11:27:58 +05:30
olshansky
7bd9840773 feat: add flashsort
Related: #14
2018-10-14 00:16:51 +03:00
olshansky
81bd46c18c feat: add counting sort
Related: #14
2018-10-14 00:15:49 +03:00
Mohit Sharma
7153799c54 Merge pull request #60 from thakursaurabh1998/heap-add-thakursaurabh
minimum priority queue added under heap
2018-10-05 01:15:05 +05:30
Saurabh Thakur
c568927318 minimum priority queue added under heap 2018-10-04 23:53:13 +05:30
Mohit Sharma
d3c315c0a9 Merge pull request #58 from jonathangomz/patch-1
Create vigenereCipher.js
2018-10-04 09:45:31 +05:30
Jonathan Gómez
8281dacdfc Create vigenereCipher.js
I translate this code from Java repository to Javascript language. Could be improved.
2018-09-29 22:02:08 -05:00
Christian Bender
cd33f7c23a Merge pull request #57 from christianbender/changed_euclian
added the let-statment
2018-03-31 18:14:22 +02:00
Christian Bender
51b6420dfe added the let-statment 2018-03-31 18:13:18 +02:00