Giter VIP home page Giter VIP logo

algorithms's Introduction

看到有國外的大大自己實作了各種不同的演算法與資料結構

趁著暑假時間比較多也來寫自己的版本,另一方面複習大二所學

因為是要練習實作,所以資料結構實作的方式幾乎都是用link-list來當基底(如果用陣列就沒意義啦)

資料結構

已完成

  • LinkList
  • Stack
  • Queue
  • HashTable
    • hash的演算法用ascii code總和%50
  • complete_BinaryTree
    • 水平加入節點
  • BinarySearchTree
  • Heap
  • Graph
    • 用array取代link-list(偷懶)

失敗

  • RedBlackTree
  • 卡在旋轉

演算法

數學類

  • factorial
    • 遞迴,dp雙版本
  • fibonacci
    • 遞迴,dp雙版本
  • prime
    • 演算法用埃氏篩法
  • GCD
  • LCM
  • partition
    • 遞迴,dp雙版本

algorithms's People

Contributors

yiyu0x avatar

Stargazers

 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.