Coder Social home page Coder Social logo

datastructure_algorithm's Introduction

Data Structure and Algorithm

本人用C++实现的数据结构和算法,带有相应的测试。

目录

目前已实现的数据结构和算法

array 数组

  • vector

list 列表

  • single linked list
  • double linked list
  • sorted linked list

queue 队列

  • queue
    • array implementation
    • linked list implementation

stack 栈

  • stack
    • array implementation
    • linked list implementation

heap 堆

  • binary max heap
    • array implementation
    • linked list implementation

tree 树

  • binary search tree
  • avl tree
  • splay tree
  • prefix tree

hash 哈希

  • hash table
    • closed addressing
    • open addressing

graph 图

  • adjacency list
    • directed graph
    • undirected graph
  • adjacency matrix
    • directed graph
    • undirected graph
  • adjacency multi list
    • undirected graph
  • orthogonal list
    • directed graph

sort 排序

  • bubble sort
  • bucket sort
  • counting sort
  • heap sort
  • insert sort
  • merge sort
  • quick sort
  • radix sort
  • select sort
  • shell sort

dynamic 动态编程

  • fibonacci
    • top down
    • bottom up

search 搜索

  • breadth first search
  • depth first search

License

Data Structure and Algorithm is distributed under the terms of the GNU GENERAL PUBLIC LICENSE (Version 3). See LICENSE for details.

datastructure_algorithm's People

Contributors

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