Implementing FFT
A derivation-oriented guide to FFT implementations, moving from recursive Cooley-Tukey to iterative and in-place variants without explicit bit reversal.
A derivation-oriented guide to FFT implementations, moving from recursive Cooley-Tukey to iterative and in-place variants without explicit bit reversal.
A short practical note on why RSS feeds are useful and how to start using them to follow blogs, research feeds, and other updates.
A near-optimal floating-point binary search template that searches representable values via bit-casts instead of hard-coded iteration counts.
An elementary way to solve recurrences by changing variables until simpler structure appears, recovering characteristic-equation intuition without heavy machinery.
A practical introduction to the Akra-Bazzi theorem as a way to analyze divide-and-conquer recurrences with unequal splits, floors, and offsets.
A tutorial on lambdas, from lambda-calculus context and C++ closure mechanics to recursion, stateful patterns, STL use, and competitive-programming examples.
A tour of Floyd-Warshall as an instance of aggregating over graph paths, leading to transitive closure, Kleene algebras, and the algebraic path problem.
A user-written editorial for Codeforces Round 513, which did not have an editorial before.
A beginner guide to inequalities involving floors and ceilings, with algebraic rules, examples, identities, and programming-language caveats.
A personal model of learning as building and querying a knowledge graph, with advice on theory, problem solving, creativity, feedback, and overfitting.
A guide to permutations through orderings, cycles, and composition, with pointers to common competitive-programming applications.
A tutorial on greedoids as a framework for understanding when greedy-style reasoning works, with examples from matroids, antimatroids, and related structures.
An introduction to probability, conditional expectation, martingales, and stopping times, with math and competitive-programming examples.
An explanation of GCC optimization and target pragmas, what common fake pragmas do not do, and when these flags help or hurt.