Git Product home page Git Product logo

algorithms's Introduction

algorithms

01背包问题

通过回溯法解决01背包问题。

通过分支限定法解决01背包问题。

TSP问题

通过蛮力法解决TSP问题。

通过分支限定法解决TSP问题。

GSP问题

通过BFS解决了GSP问题。

求第k小值及其位置

通过分治法解决第k小问题

动态规划

解决01背包问题

解决带权值的区间调度问题

排序

插入排序

链表排序,复杂度为O(n²)

归并排序

序列归并排序,复杂度为O(nlogn),解决了求逆序对的问题。

algorithms's People

Contributors

zh-hang 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.