Starting CP
Problem optimization, longest sequences, knapsack problems
Browse our comprehensive collection of programming topics. Each guide includes detailed explanations, examples, and practice questions.
Problem optimization, longest sequences, knapsack problems
Bit representation, operations, and optimization techniques
Bellman-Ford, Dijkstra's, and Floyd-Warshall algorithms
Trie structure, string hashing, and pattern matching
Programming languages, input/output, working with numbers
Arithmetic, assignment, comparison, and logical operators
Understanding variables, primitive types, and type conversion
If/else statements, switch cases, and ternary operators
For loops, while loops, and loop control statements
Understanding algorithm efficiency, calculation rules, complexity classes
Sorting theory, implementation and binary search techniques
Generating subsets, permutations, backtracking techniques
Coin problem, scheduling, tasks and deadlines, optimization
Problem optimization, longest sequences, knapsack problems
Two pointer methods, nearest elements, sliding window techniques
Static array queries, binary indexed trees, segment trees
Creating, accessing, and manipulating dynamic arrays
Working with sets, operations and implementation techniques
Key-value pairs, hash maps, and dictionary implementations
Bit representation, operations, and optimization techniques
Iterators, ranges, and specialized data structures
Graph terminology and representation techniques
Depth-first search, breadth-first search and applications
Bellman-Ford, Dijkstra's, and Floyd-Warshall algorithms
Tree traversal, diameter, paths and binary trees
Kruskal's algorithm, union-find, and Prim's algorithm
Topological sorting, dynamic programming, and cycle detection
Primes, factors, modular arithmetic and equation solving
Binomial coefficients, Catalan numbers, inclusion-exclusion
Matrix operations, linear recurrences and graph representations
Calculation, events, random variables and randomized algorithms
Game states, Nim game, and the Sprague-Grundy theorem
Trie structure, string hashing, and pattern matching
Combining algorithms, integer partitions, and Mo's algorithm
Lazy propagation, dynamic trees, and multi-dimensional structures
Complex numbers, points and lines, polygon area calculation
Intersection points, closest pair, and convex hull problems