All Projects → loiane → Javascript Datastructures Algorithms

loiane / Javascript Datastructures Algorithms

📚 collection of JavaScript and TypeScript data structures and algorithms for education purposes. Source code bundle of JavaScript algorithms and data structures book

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Javascript Datastructures Algorithms

Buckets Js
A complete, fully tested and documented data structure library written in pure JavaScript.
Stars: ✭ 1,128 (-64.98%)
Mutual labels:  data-structures, tree, stack, dictionary, set, linked-list, priority-queue, queue
Interview Questions
List of all the Interview questions practiced from online resources and books
Stars: ✭ 187 (-94.19%)
Mutual labels:  algorithm, graph, data-structures, tree, stack, sorting-algorithms, linked-list, queue
Data Structures
Common data structures and algorithms implemented in JavaScript
Stars: ✭ 139 (-95.68%)
Mutual labels:  algorithm, graph, data-structures, tree, stack, graph-algorithms, linked-list, queue
Algodeck
An Open-Source Collection of 200+ Algorithmic Flash Cards to Help you Preparing your Algorithm & Data Structure Interview 💯
Stars: ✭ 4,441 (+37.88%)
Mutual labels:  algorithm, graph, data-structures, tree, stack, sorting-algorithms, linked-list, queue
Geeksforgeeks Dsa 2
This repository contains all the assignments and practice questions solved during the Data Structures and Algorithms course in C++ taught by the Geeks For Geeks team.
Stars: ✭ 53 (-98.35%)
Mutual labels:  graph, data-structures, tree, stack, sorting-algorithms, linked-list, queue
Containers
This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.
Stars: ✭ 125 (-96.12%)
Mutual labels:  data-structures, tree, stack, set, priority-queue, avl-tree, queue
Data Structures With Go
Data Structures with Go Language
Stars: ✭ 121 (-96.24%)
Mutual labels:  tree, stack, dictionary, graph-algorithms, sorting-algorithms, linked-list, queue
Learningmasteringalgorithms C
Mastering Algorithms with C 《算法精解:C语言描述》源码及Xcode工程、Linux工程
Stars: ✭ 615 (-80.91%)
Mutual labels:  algorithm, graph, tree, stack, set, linked-list, queue
Algo Tree
Algo-Tree is a collection of Algorithms and data structures which are fundamentals to efficient code and good software design. Creating and designing excellent algorithms is required for being an exemplary programmer. It contains solutions in various languages such as C++, Python and Java.
Stars: ✭ 166 (-94.85%)
Mutual labels:  graph, tree, stack, sorting-algorithms, linked-list, queue
Cracking The Coding Interview
Solutions for Cracking the Coding Interview - 6th Edition
Stars: ✭ 35 (-98.91%)
Mutual labels:  graph, tree, stack, graph-algorithms, linked-list, queue
Data-Structures-and-Algorithms
Implementation of various Data Structures and algorithms - Linked List, Stacks, Queues, Binary Search Tree, AVL tree,Red Black Trees, Trie, Graph Algorithms, Sorting Algorithms, Greedy Algorithms, Dynamic Programming, Segment Trees etc.
Stars: ✭ 144 (-95.53%)
Mutual labels:  tree, avl-tree, linked-list, queue, graph-algorithms, sorting-algorithms
Mlib
Library of generic and type safe containers in pure C language (C99 or C11) for a wide collection of container (comparable to the C++ STL).
Stars: ✭ 321 (-90.03%)
Mutual labels:  tree, stack, dictionary, set, priority-queue, queue
ctl
My variant of the C Template Library
Stars: ✭ 105 (-96.74%)
Mutual labels:  set, tree, stack, queue, priority-queue, deque
AlgoDaily
just for fun
Stars: ✭ 118 (-96.34%)
Mutual labels:  tree, linked-list, stack, queue, binary-tree
Leetcode
High-quality LeetCode solutions
Stars: ✭ 178 (-94.47%)
Mutual labels:  algorithm, graph, tree, stack, queue
Data Structures Algorithms
My implementation of 85+ popular data structures and algorithms and interview questions in Python 3 and C++
Stars: ✭ 273 (-91.52%)
Mutual labels:  algorithm, graph, data-structures, tree, linked-list
C Sharp Algorithms
📚 📈 Plug-and-play class-library project of standard Data Structures and Algorithms in C#
Stars: ✭ 4,684 (+45.42%)
Mutual labels:  graph, data-structures, tree, graph-algorithms, sorting-algorithms
Data Structures
A collection of powerful data structures
Stars: ✭ 2,534 (-21.33%)
Mutual labels:  graph, data-structures, stack, priority-queue, queue
Algorithm
Algorithm is a library of tools that is used to create intelligent applications.
Stars: ✭ 787 (-75.57%)
Mutual labels:  algorithm, data-structures, stack, dictionary, set
Data-Structures-and-Algorithms
Data Structures and Algorithms implementation in Python
Stars: ✭ 31 (-99.04%)
Mutual labels:  linked-list, stack, queue, data-structures, sorting-algorithms

Learning JavaScript Data Structures and Algorithms

Build Status codecov devDependencies Status dependencies Status Greenkeeper badge

Source code of Learning JavaScript Data Structures and Algorithms book, third edition.

List of available chapters:

Third Edition Updates

  • Algorithms using ES2015+ (ES6+)
  • New data structures and algorithms
  • All chapters rewritten and reviewed
  • Three (3) new chapters
  • Creation of a Data Structures and Algorithms library that can be used in the browser or with Node.js
  • Algorithms tested with Mocha + Chai (test code available in test directory)
  • TypeScript version of the source code included (library and tests)

Project Structure

src/js/index.js file contains all the data structures and algorithms listed by chapter.

|_examples (how to use each data structure and algorithm, organized by chapter)
|_src 
|___js (source code: JavaScript version)
|_____data-structures
|_______models (classes used by DS: Node, ValuePair, ...)
|_____others (other algorithms such as palindome checker, hanoi tower)
|___ts (source code: TypeScript version)
|_____data-structures
|_______models
|_____others
|_test (unit tests with Mocha and Chai for src)
|___js (tests for JavaScript code)
|___ts (tests for TypeScript code)

Installing and running the book examples With Node

  • Install Node
  • Open terminal/cmd and change directory to this project folder: cd /Users/.../javascript-datastructures-algorithms (Linux/Max) or cd C:/.../javascript-datastructures-algorithms
  • run npm install to install all dependencies
  • To see the examples, run http-server html or npm run serve. Open your browser http:\\localhost:8080 to see the book examples
  • Or cd html/chapter01 and run each javascript file with node: node 02-Variables

Running the examples in the browser

Happy Coding!

Other editions

1st edition 2nd edition 3rd edition
1st edition 2nd edition 3rd edition
Book link Book link Book link

Book link - first edition:

Book link - second edition:

Book link - third edition:

Found an issue or have a question?

Please create an Issue or Pull Request

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].