GithubHelp home page GithubHelp logo

dsa's Introduction

Data Structures and Algorithms from scratch

I am redoing everything from ground up. The purpose is to implement data structures in C and in the process learn to steer through the varied challenges and become a better programmer.

I will be writing (most) Data Structures in C and Algorithms in C++ using STL so that the algorithm can be used as a template later on.

This will serve as a reference material for me (and others).

List of Data Structures:

  1. Stack
  2. Queue
  3. Linked List
  4. Hash Table
  5. Binary Search Tree
  6. Binary Heap (heapify)
  7. Minimum stack
  8. Minimum queue
  9. Fenwick Tree
  10. Segment Tree
  11. Disjoint-set (Union Find data structure)
  12. B-Tree
  13. B+ Tree
  14. Graph (using adjacency list)

List of Algorithms

  1. Heapify (for binary heap)
  2. Preorder Traversal (in Binary Tree)
  3. Inorder Traversal (in Binary Tree)
  4. Postorder Traversal (in Binary Tree)
  5. Binary Search
  6. Level order Traversal (in Binary Tree, N-ary Tree)
  7. Breadth First Search (BFS)
  8. Depth First Search (DFS)
  9. Dijkstra - finding shortest path from given vertex
  10. Kadane's algorithm
  11. Cycle detection (using Floyd's Algorithm)
  12. Sieve of Eratosthenes
  13. Binary Exponentiation
  14. Minimum Spanning Tree (MST - using Prim's, Kruskal's Algorithm)
  15. Convex Hull
  16. String matching (KMP, Rabin Karp)
  17. Lowest Common Ancestor (LCA)
  18. Bipartite Check
  19. Boyer-Moore majority vote algorithm

~for the love of programming

dsa's People

Contributors

rahultumpala avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.