Skip to main content

24 docs tagged with "Competitive Programming"

View all tags

Discrete Logarithm

An overview of the Discrete Logarithm problem and its applications in cryptography.

GCD Algorithm

A detailed guide to understanding and implementing the GCD (Greatest Common Divisor) Algorithm in Number Theory.

greedy Algorithms

Greedy algorithms are a class of algorithms that make the optimal choice at each step with the hope of finding the global optimum

heap data structure

Heaps are commonly used to implement priority queues and ensure efficient retrieval of the minimum or maximum element.

heap data structure

Heaps are commonly used to implement priority queues and ensure efficient retrieval of the minimum or maximum element.

heap data structure

Heaps are commonly used to implement priority queues and ensure efficient retrieval of the minimum or maximum element.

heap data structure

Heaps are useful for merging multiple sorted lists efficiently and solving problems related to merging sorted sequences.

heap data structure

Heaps provide an efficient way to manage and retrieve median values from a stream of data by balancing two heaps.

Importance of Mathematical Algorithms

Mathematical algorithms are essential for solving various computational problems and are widely used in both theoretical computer science and practical applications. They underpin many algorithms used in competitive programming and other fields.

Importance of Two Pointers Technique

The Two Pointers technique is an efficient algorithmic strategy used to solve various problems involving arrays or lists by utilizing two indices.

KMP Algorithm

A comprehensive guide to using the KMP Algorithm for efficient pattern matching.

LCM Algorithm

A detailed guide to understanding and implementing the LCM (Least Common Multiple) Algorithm in Number Theory.

Modular Arithmetic

A detailed guide to understanding and implementing the Modular Arithmetic in Number Theory.

Naive Search Algorithm

A basic string-search algorithm that checks every position in the text for a match with the pattern.

Rabin-Karp Algorithm

A comprehensive guide to using the Rabin-Karp Algorithm for efficient pattern matching.

Sieve of Eratosthenes

A complete guide to understanding and implementing the Sieve of Eratosthenes for finding prime numbers.

Sweep Line Algorithm

A comprehensive guide to understanding and implementing the sweep line algorithm for computational geometry.

Z Algorithm

A comprehensive guide to using the Z-Algorithm for efficient pattern matching.