The Algorithms logo
The Algorithms
关于捐赠
undefined

Fast Search

密码
转换

Rgb Hsv Conversion

加密

ISO 10125-2 Padding

ISO 7816-4 Padding

X9.32 Padding

PKCS7 Padding

Ascon Hash Digest

数据压缩

Huffman Compressor

Shannon-Fano Compressor

数据结构

Next Greater Element

Segment Tree Multiplication

Segment Tree Update

Fenwick tree (or Binary Indexed Tree)

Array-based Stack

List-based Stack

Queue-based Stack

Fibonacci Heap

Count Min Sketch

Array-based Queue

List-based Queue

Stack-based Queue

Singly Linked List

Doubly Linked List

Circular Linked List

Directed Weighted Graph Via Adjacency Matrix

Inverted index

Unrolled linked list

Least Frequently Used (LFU) Cache

Least Recently Used (LRU) Cache

离散数学

Euclidean Gcd

分而治之

Mergesort

Mergesort

动态编程

Floyd Warshall

Factorial

Coin Change

编码
分形

Mandelbrot

Koch Snowflake

图形

Prim's Algorithm (Adjacency Matrix)

Kruskal's Algorithm

Breadth First Search

Depth First Search

Dijkstra Shortest Path

Kosaraju

Backtracking

贪心算法

Gale Shapley

哈希
背包

Naive solver

Dynamic Programming solver

Branch and bound solver

IHeuristicKnapsackSolver

线性代数
数学

Chinese Remainder Theorem

Extended Euclidean Algorithm

Addition without Arithmetic

Aliquot Sum

Modular Exponentiation

Maclaurin Series

Binomial Coefficient

Perfect Number

Perfect Square

Euler Method

Miller Rabin Primality Check

Automorphic Number

Josephus Problem

Euler's Totient

Sieve of Eratosthenes

模运算

Modular Multiplicative Inverse

数值

Absolute

Amicable Numbers Checker

Thin Singular Vector Decomposition

Trial division Factorization

Gauss-Jordan Elimination

Keith Number Checker

Pseudo-Inverse

Narcissistic Number Checker

Perfect Cube Checker

Classic Runge-Kutta Method

KrishnamurthyNumberChecker

Newton's Square Root Calculation

SoftMax Function

其他

Fermat Prime Checker

Int2Binary

GeoLocation

Pareto Optimization

Gauss Optimization

Decisions Convolutions

Welford's Variance

Julian Easter

Pollard's Rho

GeoLocation Hash

Geofencing

Triangulation Algorithm

问题
递归

Flood Fill

检索

Binary Search

Fibonacci Search

Interpolation Search

Jump Search

Linear Search

Recursive Binary Search

序列

A000002 Kolakoski

A000004 Zero

A000005 Count of Divisors

A000008 Make Change

A000012 All Ones

A000027 Natural

A000032 Lucas Numbers

A000040 Primes

A000045 Fibonacci

A000079 Powers of 2

A000108 Catalan

A000120 1's Counting

A000124 Central Polygonal Numbers

A000125 Cake Numbers

A000142 Factorial

A000213 Tribonacci Numbers

A000215 Fermat Numbers

A000288 Tetranacci Numbers

A000290 Squares

A000292 Tetrahedral numbers

A000578 Cubes

A000720 PrimePi

A001146 Number of Boolean Functions

A001462 Golomb's

A001478 Negative Integers

A002110 Primorial Numbers

A002717 Matchstick Triangle Arrangement

A005132 Recaman's

A006577 Number of '3n+1' steps to reach 1

A006862 Euclid Numbers

A006879 Number of Primes by Number of Digits

A006880 Number of Primes by Powers of 10

A007318 Binomial

A007395 All Twos

A010051 Binary Prime Constant

A010701 All Threes

A011557 Powers of 10

A057588 Kummer Numbers

A019434 Fermat Primes

A181391 Van Eck's

Shufflers

Fisher-Yates Shuffler

排序

Binary Insertion Sort

Bogo Sort

Bubble Sort

Cocktail Sort

Comb Sort

Cycle Sort

Exchange Sort

Heap Sort

Insertion Sort

Pancake Sort

Quick Sort

Median of three pivot

Middle point pivot

Random pivot

Selection Sort

Shell Sort

Tim Sort

Simplified Tim Sort

Counting Sort

Bucket Sort

Radix Sort

Msd Radix Sort

堆栈

Balanced Parentheses Checker

字符串

Burrows Wheeler Transform

Boyer Moore Search

Cosine Similarity

Damerau Levenshtein Distance

Hamming Distance

Jaro Winkler Distance

Optimal String Alignment

Bitop Pattern Matching

Naive String Search

Rabin Karp

Boyer Moore

Knuth–Morris–Pratt Search

Wildcard Pattern Matching

Z-block substring search

Longest Consecutive Character

Palindrome Checker

Get all permutations of a string

Levenshtein Distance


Breadth First Tree Traversal