a019404353
Added Introsort Implementation in JS. ( #267 )
...
* Feature: Added IntroSort in JS Closes #265
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-19 11:57:41 +05:30
4a1be28933
updating DIRECTORY.md
2020-08-15 03:16:21 +00:00
2bfe9488ea
Merge pull request #257 from LefterisD/master
...
Added Interpolation and exponential search
2020-08-15 11:16:02 +08:00
a47923d210
Fixed exponentialSearch.js and interpolationSearch.js
2020-08-10 21:06:58 +03:00
6dbb849911
Added Interpolation and exponential searches in the javascript repo
2020-08-10 18:03:01 +03:00
4cbdc9e072
Add doctest to devDependencies of package.json
...
As requested at https://github.com/TheAlgorithms/Javascript/issues/142#issuecomment-667625929
2020-08-02 06:47:16 +02:00
6d5f4d2e3d
updating DIRECTORY.md
2020-08-01 03:47:50 +00:00
1841d1fa6d
Adding TimingFunctions/IntervalTimer ( #237 )
...
* IntervalTimer added | DIRECTORY.md modified.
* IntervalTimer added | DIRECTORY.md modified.
* Fixed "extra ;" issue
2020-08-01 09:17:25 +05:30
e1d546eb6c
updating DIRECTORY.md
2020-08-01 03:44:31 +00:00
854e70a210
Added stock price fetch + package-lock.json ( #233 )
...
* Added stock price fetch
* Delete package-lock.json
Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-08-01 09:14:10 +05:30
df58a7ed5f
Small Tweaks/Fixes ( #235 )
2020-08-01 09:11:19 +05:30
fd414e2d05
updating DIRECTORY.md
2020-07-28 16:17:19 +00:00
0fd1a19ba5
Created Tree Section + Moved Tree algorithm from into the folder ( #236 )
2020-07-28 21:46:56 +05:30
8a9ea57f01
fixed issue with delete operator on stacks ( #218 )
...
* fixed issue with delete operator
using delete operator in arrays ,element remains undefined. so splice is the clean way to do that
* Fixed the semicolon and let errors
* Update Stack.js
2020-07-24 09:38:56 +05:30
edd5a69c4c
updating DIRECTORY.md
2020-07-23 15:25:40 +00:00
f21e460729
Added Kruskal's Algorithm ( #232 )
2020-07-23 20:55:21 +05:30
3701b449be
updating DIRECTORY.md
2020-07-19 04:52:55 +00:00
e20c99809e
Added DFS (Iterative) - Graph ( #229 )
2020-07-19 10:22:10 +05:30
8e13280357
updating DIRECTORY.md
2020-07-14 12:05:03 +00:00
b5899d5294
Added DFS (Recursive) - Graph ( #228 )
2020-07-14 17:34:42 +05:30
4534582567
updating DIRECTORY.md
2020-07-09 20:08:43 +00:00
6a80dc7179
Added Prim's Algoritm ( #227 )
2020-07-10 01:38:14 +05:30
9030de43a7
updating DIRECTORY.md
2020-07-07 07:09:51 +00:00
f34fd6d8f0
Added Connected Components using DFS ( #223 )
2020-07-07 12:39:33 +05:30
4b2d6acced
updating DIRECTORY.md
2020-07-07 07:08:42 +00:00
7822e8a235
Added LFU Cache ( #221 )
...
* Added LFU Cache
* Added explaination for the algo
* Fixed Typo
2020-07-07 12:38:18 +05:30
95d799ab5e
updating DIRECTORY.md
2020-07-07 02:11:23 +00:00
5150909f18
added GridGetX and GridGetY ( #222 )
...
* added GridGetX and GridGetY
* fixed Node CI issues
* fixed Node CI issues
* made requested changes
* fixed Node CI errors
2020-07-07 07:40:57 +05:30
40000d56c3
updating DIRECTORY.md
2020-07-02 10:36:20 +00:00
e646b45460
Added LRU Cache ( #219 )
2020-07-02 16:06:02 +05:30
2e139cc5de
Create stale.yml
2020-07-02 09:54:33 +05:30
4df472a361
Update HexToRGB.js
2020-06-30 23:05:47 +05:30
b511652a95
updating DIRECTORY.md
2020-06-30 15:59:57 +00:00
5ea15b49c9
Rename HexToRGB to HexToRGB.js
2020-06-30 21:29:29 +05:30
3f1e556d20
updating DIRECTORY.md
2020-06-30 15:58:51 +00:00
52c04e3cc6
Added Open Knight Tour Algorithm ( #214 )
...
* Added Open Knight Tour by @ruppysuppy
2020-06-30 21:28:30 +05:30
f795b6d801
updating DIRECTORY.md
2020-06-30 04:04:55 +00:00
bf9100f40f
Added CheckPalindrome ( #213 )
...
* Added CheckPalindrome contributed by @Swapnil-2001
2020-06-30 09:34:33 +05:30
3e787629ec
Removed package-lock.json ( #212 )
...
* fixes : #210
* Fixes : #210
2020-06-28 14:08:17 +05:30
729b2d6c8c
updating DIRECTORY.md
2020-06-28 07:10:59 +00:00
0c3fd105c8
Rename DFS.js to DepthFirstSearch.js
2020-06-28 12:40:36 +05:30
ef5566f6a6
Update BinarySearch.js ( #209 )
...
* Update BinarySearch.js
The old algorithm didn't work, I believe for two main reasons:
1 - Number.MAX_VALUE is not a valid array index as it is used to represent the highest possible value in javascript (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_VALUE );
2 - splice() is not a pure function, every time it is called it has the side effect of modifying the original array (https://www.w3schools.com/jsref/jsref_splice.asp ) ;
So I rewrote the algorithm, it now returns an index ( -1 if not found ) and it works both on numbers and on strings.
* Update BinarySearch.js
Style change
* Update BinarySearch.js
Style change
* Update BinarySearch.js
2020-06-28 12:29:19 +05:30
744291b7f0
updating DIRECTORY.md
2020-06-26 15:33:05 +00:00
40f91ece25
Added n-queen ( #206 )
2020-06-26 21:02:40 +05:30
129ec51861
bugfix ( #207 )
...
Push should be converted to hexout. unshift
2020-06-26 19:27:39 +05:30
4d4f668451
updating DIRECTORY.md
2020-06-26 05:10:30 +00:00
a70dfe9b7a
Added backtracking (sudoku) ( #205 )
...
* Added backtracking (sudoku)
* Coverted into class based program
2020-06-26 10:40:03 +05:30
9e414b7896
updating DIRECTORY.md
2020-06-24 05:55:25 +00:00
4203835cd6
Added Monte Carlo Pi Approximation ( #201 )
...
* Added Monte Carlo Pi Approximation
* Added comments
2020-06-24 11:25:01 +05:30
d8eee0c70d
Added .gitignore ( #203 )
2020-06-24 11:24:19 +05:30