On lambdas, C++ and otherwise: the what, the why, and the how
A tutorial on lambdas, from lambda-calculus context and C++ closure mechanics to recursion, stateful patterns, STL use, and competitive-programming examples.
A tutorial on lambdas, from lambda-calculus context and C++ closure mechanics to recursion, stateful patterns, STL use, and competitive-programming examples.
A note on a Euclidean GCD variant that greedily reduces the remainder, with benchmarks and an iteration-count improvement.
A discussion and generalization of post-increment through std::exchange, with examples in recurrences, GCD code, lazy updates, moves, locks, and iterators.
The Boost C++ library and examples of what it would give competitive programmers beyond the standard library.
A short PSA on increasing stack limits before MHC, with commands, compiler flags, and platform caveats.
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.
On preserving Google Hash Code problems and infrastructure before the contest archive disappears.
A personal model of learning as building and querying a knowledge graph, with advice on theory, problem solving, creativity, feedback, and overfitting.