GithubHelp home page GithubHelp logo

leonardssh / algorithm.ts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from guanghechen/algorithm.ts

0.0 1.0 0.0 2.16 MB

Common algorithms and data structures written in Typescript

License: MIT License

Shell 0.05% JavaScript 0.45% TypeScript 99.50%

algorithm.ts's Introduction

A monorepo contains some of common algorithms and data structures written in Typescript. (no third-party dependencies)

Overview

Package Description
@algorithm.ts/binary-index-tree Binary Index Tree.
@algorithm.ts/calculate A tiny calculator for number arithmetics.
@algorithm.ts/circular-queue Circular queue.
@algorithm.ts/dijkstra Dijkstra algorithm optimized with @algorithm.ts/priority-queue. #ShortestPath.
@algorithm.ts/dinic Dinic algorithm. #MaxFlow, #NetworkFlow.
@algorithm.ts/dlx DLX algorithm.
@algorithm.ts/findset Find set.
@algorithm.ts/gcd Greatest Common Divisor (GCD) and extended Euclidean algorithm.
@algorithm.ts/isap ISAP algorithm. #MaxFlow, #NetworkFlow.
@algorithm.ts/knuth-shuffle Knuth-Shuffle algorithm.
@algorithm.ts/lower-bound Find the index of first elements which greater or equals than the target element.
@algorithm.ts/manacher The manacher algorithm for solving palindrome string problems.
@algorithm.ts/mcmf MCMF algorithm. #MinCostMaxFlow, #NetworkFlow.
@algorithm.ts/priority-queue Priority Queue (heap).
@algorithm.ts/roman Support the mutual conversion between Roman numerals and Arabic numerals.
@algorithm.ts/sliding-window Sliding window algorithm.
@algorithm.ts/sieve-prime A linear time algorithm to sieve prime numbers.
@algorithm.ts/sieve-totient A linear time algorithm to sieve prime numbers and get the Euler's totient function.
@algorithm.ts/sudoku A collection of utilities to generate / solve Sudoku problems.
@algorithm.ts/trie Trie. (digital tree or prefix tree)
@algorithm.ts/upper-bound Find the index of first elements which greater than the target element.

License

algorithm.ts is MIT licensed.

algorithm.ts's People

Contributors

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