Code Monkey home page Code Monkey logo

fju_elpsycongroo's People

Contributors

roy4801 avatar suntalk avatar william31212 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fju_elpsycongroo's Issues

BST

Binary Search Tree 二元搜尋樹

  • 高中生解題

數論 - 擴展歐幾里得

TIOJ 1135 = POJ - 2115 C Looooops(需要把式子做轉換)
uva 10090 (不一定要用擴展解)(裸題)
HOJ 432
uva 12169

圖論

  • DFS
    • basic
    • tutorial
    • template
  • BFS
    • basic
    • tutorial
    • template

RMQ

  • Sparse Table

    • worked
    • tutorial
    • codebook
  • F Segment Tree

    • worked
    • tutorial
    • codebook

F Segment Tree

單調stack

POJ 2559
Leetcode 85. Maximal Rectangle

  • 單調stack
  • DP

Sieve overflow

抱歉打擾了, 發現一些問題想回報一下

  • sieve.h#L28: i*i 的地方有可能會 overflow, 強制轉成 size_t 的話也有可能會遇到 32-bit compiler 的問題
  • Disjoint::find: 會建議改路徑壓縮,因為 O(n) find 蠻少用的
- return x==p[x] ? x : find(p[x]);
+ return x==p[x] ? x : p[x] = find(p[x]);

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.