Skip to content

Latest commit

 

History

History
58 lines (53 loc) · 3.48 KB

README.md

File metadata and controls

58 lines (53 loc) · 3.48 KB

12 Common Data Structures in C, TypeScript, and Python

I first wrote the backbone for these data structure implementations in JavaScript while completing freeCodeCamp's Coding Interview Data Structure Challenges. Since then, I've ported my JavaScript code to TypeScript (limited to ES5 libraries), Python, and C, and added a few additional features.

I've found C to be the most fun (and certainly the most educational) language to build these in. I also wrote custom (but informal) tests for my C implementations in the main function of each file.

Please enjoy, and let me know if you have any questions!

Table of Contents

  1. Stack
  2. Queue
  3. Priority queue
  4. Circular queue
  5. Linked list
  6. Doubly-linked list
  7. Hash table
  8. Set
  9. Binary search tree
  10. Trie search tree
  11. Max heap
  12. Min heap