Giter Site home page Giter Site logo

study-algorithm-design's Introduction

study-the-algorithm-design-manual

Write python code to study 《The Algorithm Design Manual》

Data Structures & Algorithms

Sorting

  • Insertion Sort
  • Selection Sort
  • Heap Sort
  • Merge Sort
  • Quick Sort
  • 3-Way Quick Sort
  • Radix Sort
  • Shell Sort

Heap

  • Heap
  • Priority Queue

Tree

  • Binary Tree
  • B-Tree
  • Trie
  • Binary Indexed Tree

Graph

  • DFS

  • BFS

  • Connected Components

  • Two Color (bipartite)

  • Finding Cycles (graph & digraph)

  • Articulation Vertices

  • Digraph DFS Orders (pre & post & reversePost)

  • Topological Sorting

  • Strongly Connected Components

  • Minimal Spanning Tree

    • Prim's Algorithm
    • Prim's Algorithm using Priority Queue
    • Kruskal's Algorithm
  • (All-Pairs) Shortest Path

    • Dijkstra's Algorithm
    • Floyd's Algorithm
  • Union Find

    • My Stupid Union Find Algorithm
    • Union Find with Path Compression and Union by Rank
  • Network Flows (not understand yet)

Backtracking

  • Construct All Subsets
  • Construct All Permutations
  • Construct All Paths in a Graph (from s to t)
  • Solve Sudoku (find one in leetcode)

Dynamic Programming

Algorith Design by Jon Kleinberg, Eva Trados

  • 1.1 Gale-Shapley
  • 4.1 Internal Scheduling
  • 4.8 Huffman Codes (Greedy Algorithm)
  • 4.9 Minimum-Cost Arborescences (Greedy Algorithm)
  • 5.3 Counting Inversions (Divide and Conquer)
  • 5.4 Finding the Closest Pair of Points (Divide and Conquer)

Data Structures

  • B-Tree (P.370)
  • Skip List (P.371)
  • Suffix Tree (P.377)
  • Bloom Filter (P.386)
  • Kd-Trees (P.389)
    • Quadtree or Octtree
    • BSP-tree
    • R-tree

Classic Leetcode Problems

study-algorithm-design's People

Contributors

xiaonanln avatar

Stargazers

Reza Bojnordi avatar Milad Vazan avatar Kyle Holdt avatar Carlos Guerrero avatar Typical Engineer avatar Kevin N. Baize II avatar Nehal Kamat avatar Emanuel Sanchez Aimar avatar Mostafa avatar Jon avatar

Watchers

 avatar James Cloos 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.