Coder Social home page Coder Social logo

algorithm-templates_cpp's Introduction

Algorithm-Templates_Cpp

算法竞赛时候写下的一些常用算法的C++模板,仅供参考

内容包括:

  • 排序:选择排序,插入排序,冒泡排序,桶排序

  • 搜索:DFS,BFS,A*

  • 数据结构:二叉树,哈希表(拉链法),堆(以及堆排序),并查集,栈,线性表,队列,循环队列

  • 高精度算法:加,减,乘,除,朴素除法

  • 分治:快速排序,二分答案,归并排序

  • 图论:多元最短路径ASSP(Floyd),单源最短路径SSSP(Dijkstra+Heap, SPFA),最小生成树(Kruskal, Prim+Heap),最近公共祖先LCA,拓扑排序,强连通分量,割点,割边,二分图最大匹配

  • STL模板的使用:heap, queue, priority_queue, sort, stack, vector

algorithm-templates_cpp's People

Contributors

zzfon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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