Problems
Easy · Combinatorics · Number theory
Medium · SQRT Decomposition · Math · Number theory
Medium · Number theory · Combinatorics · Prime factorization
Hard · Greedy algorithms · Strings · Math
Hard · Prefix Sums · Greedy algorithms · Hashing
Very hard · Math · Number theory · Binary Search · Hashing · Data Structures · Combinatorics
Very hard · Sorting · Data Structures · Queries · SQRT Decomposition
Very hard · Dynamic programming · Trees · Greedy algorithms · Data Structures · Depth-first Search
Easy · Greedy algorithms · Number theory
Medium · Greedy algorithms · Number theory · Brute force
Hard · Greedy algorithms · Combinatorics · Sorting
Hard · Combinatorics · Number theory · Math
Hard · Dynamic programming · Prime factorization · Combinatorics · Number theory
Easy · Math
Very easy · Math
Very easy · Implementation
Very easy · Implementation
Very easy · Implementation
Very easy · Implementation
Very easy · Implementation
Very easy · Implementation
Medium · Greedy algorithms · Sorting · Prefix Sums
Hard · Number theory · Greedy algorithms · Sorting
Hard · Fenwick Tree · Sorting · Bitwise Operations · Combinatorics · Greedy algorithms
Very hard · Bitmasks · Dynamic programming · Combinatorics · Number theory · Bitwise Operations