All Projects → trungk18 → typescript-data-structures

trungk18 / typescript-data-structures

Licence: MIT License
Fundamental data structures and algorithms a front end engineer should know, written all in TypeScript

Programming Languages

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

TypeScript Data Structures

Fundamental data structures and algorithms a front end engineer should know, written in TypeScript.

Available data structures

  1. Queue
  2. Stack
  3. Singly Linked List
  4. Double Linked List (wip)
  5. Trees
  6. Tries
  7. HashSets
  8. HashTables
  9. Graph

Algorithms

  1. Quick Sort
  2. Merge Sort
  3. Insertion Sort
  4. Binary Search
  5. Depth First Search
  6. Breadth First Search

Test

# install dependencies
npm install

# run all test suite
npm run test

Please make sure all the tests has been passed before issuing a pull request :)

References

Contributing

I know this collection of standards is not perfect and still needs to improve. If you have any ideas, just open an issue or create a pull request and tell me what you think.

If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.

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].