Level up your JavaScript with these algorithms and data structures
Big O Notation
Data Structures
A data structure is a particular way of organizing and storing data in a computer so that it can be accessed and modified efficiently.
More precisely, a data structure is a collection of data values, the relationships among them, and the functions or operations that can be applied to the data.
Here?s a list of algorithms and data structures you should learn to level up your coding skills.
Each algorithm and data structure has its own separate README with related explanations and links for further reading (including ones to YouTube videos).
JavaScripot Algorithms ? https://github.com/trekhleb/javascript-algorithms
Big thanks to Oleksii Trekhleb making it available for anyone.
trekhleb/javascript-algorithms
? Algorithms and data structures implemented in JavaScript with explanations and links to further readings ?
github.com
Linked List ? https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/linked-listHash Table ? https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/hash-tableBinary Search Tree ? https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/tree/binary-search-treeHeap ? https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/heap
Want more? Check out the full list of data structures on the Github repository.
trekhleb/javascript-algorithms
? Algorithms and data structures implemented in JavaScript with explanations and links to further readings ?
github.com
Data Structures ? https://github.com/trekhleb/javascript-algorithms#data-structures
Algorithms
An algorithm is an unambiguous specification of how to solve a class of problems. It is a set of rules that precisely define a sequence of operations.
Fibonacci Number ? https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/math/fibonacciMaximum Subarray Problem ? https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sets/maximum-subarrayLinear Search https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/search/linear-searchJump Search ? https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/search/jump-searchBinary Search ? https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/search/binary-searchBubble Sort ? https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sorting/bubble-sort#bubble-sortQuicksort ? https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sorting/quick-sortMerge Sort ? https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sorting/merge-sortRadix Sort ? https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sorting/radix-sort
Want to learn algorithms in depth? I?d suggest starting with the ?Introduction to Algorithms, 3rd Edition (The MIT Press)? book.
If you?re curious to see the full list of algorithms and data structures, check out this awesome Github repository.
trekhleb/javascript-algorithms
? Algorithms and data structures implemented in JavaScript with explanations and links to further readings ?
github.com
Thanks for reading! ?