El presente repositorio contiene ejemplos basicos de los algoritmos y estructura de datos para los concursos de programacion.
Cada algoritmo y/o estructura de datos contiene un README separado donde se explica el funcionamiento de dicho algoritmo ademas de las diferentes fuentes.
B - Basico, A - avanzado
ATrieASegment TreeATreapBUnion FindBBIT
- Matematicas
BBit Manipulation - set/get/update/clear bits, multiplication/division by two, make negative etc.BFibonacci Number - classic and closed-form versionsBPrimality Test (trial division method)BEuclidean Algorithm - calculate the Greatest Common Divisor (GCD)BLeast Common Multiple (LCM)BSieve of Eratosthenes - finding all prime numbers up to any given limitBPascal's TriangleBFast PoweringAInteger PartitionALiu Hui π Algorithm - approximate π calculations based on N-gonsADiscrete Fourier Transform - decompose a function of time (a signal) into the frequencies