javascript-algorithms
javascript-algorithms copied to clipboard
📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
This change resolves #1033 by changing the 'while' statement in src/data-structures/linked-list/LinkedLists.js delete() method to an 'if', and adding the 'new' keyword before initializing an Array in src/data-structures/hash-table/HashTable.js constructor() method.
The function didnt check when power is one so unnecessarily was going though multiplying base by ones
Implemented a binary search-based approach to find the longest increasing subsequence in an array.
Fix issue #325
run code ```javascript const avl = new AvlTree(); avl.insert(24); avl.insert(12); avl.insert(34); avl.insert(26); avl.insert(25); console.log(avl.toString()); // output: 25,26,34,24,34 ``` left child 12 is modified to a duplicate value 34. ```javascript const...
There are over 500Million people in the world speaking Urdu/Hindi. The translation will add new dimension of understanding to the Urdu speaking nation such as Pakistan & India
Added a Vigenère cipher algorithm under the cryptography folder. Added the main scripts, included a README.md file and A test script. I also added this to the main READ,E.md file.