Giter Site home page Giter Site logo

icodein / implementations_of_various_algorithms_and_data_structures Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ravibitsgoa/implementations_of_various_algorithms_and_data_structures

0.0 1.0 0.0 62 KB

A few common data structures and algorithms implemented in C++.

C++ 87.24% C 12.76%

implementations_of_various_algorithms_and_data_structures's Introduction

This contains the implementations of various algorithms and data structures taught in the course by Stanford university, on coursera.
This contains the following algorithms / data structures:
1. Karatsuba integer multiplication algorithm.
2. Mergesort with counting inversions.
3. Closest pair of points on a plane
*. Strassen's Matrix multiplication algorithm.
4. Quicksort and ith order statistic.
5. Karger's minimum cut algorithm with union-find data structure.
6. BFS and DFS
7. Fibonacci Nth term with/without matrix exp.
8. Segment tree
9. Heap
10. Convex Hull, naive implementation
11. Fast Modular exponentiation
12. Sieve of Eratosthenes for generating primes (now linear time).
13. N-dimensional Vectors
13. Prim's Minimal spanning tree algorithm
14. Algorithm to find Suffix array of a string
15. hash table using open addressing
16. Rabin Miller deterministic primality test
17. fast modular multiplicative inverse
18. Matrix library
19. Extended Euclidean algorithm to find modular multiplicative inverse
20. Knuth Morris Pratt string matching algorithm
21. Z algorithm for string matching
22. Square-root decompositon for range sum queries.
23. Binary search tree (with insert, delete, search, print)
24. Union Find (Disjoint Set Union) with union by rank and path compression.

* : Yet to be added.

implementations_of_various_algorithms_and_data_structures's People

Contributors

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