Loading
Tutorials, problem-solving write-ups and algorithm guides, from game theory to segment trees.
If you had asked 10-year-old me what I thought about Alice and Bob, frustration would definitely not be among my top thoughts. I mean, Alice in Wonderland and B...
Dynamic Programming is a method to solve problems by combining sub-problems… blah blah blah. DP is one of those topics I have heard everyone struggle with, from...
Math in competitive programming is one of the most critical ways of testing one’s arithmetic and logic-building skills. A lot of the time, math in Competitive P...
Trees are pretty cool. But many people simply skip questions when they see a tree mentioned. I’ve heard people say: "It feels complex." "I only know how to work...
Introduction Welcome to the guide! If you are going to survive competitive programming, you need to master Range Queries. Brute-forcing a solution with nested l...