Math
Probabilities
bn
Conditional Probabilities: Counterintuitive Problems
Probability is perhaps not as intuitive as you think it is...
Math
Competitive Programming
PDF
My note on Number Theoretic Functions
Dirichlet Convolution, Möbius Inversion and more!
Competitive Programming
PDF
bn
Handling shortest path tasks on dense graphs with Segment Tree
Yet another cool CP trick.
Essay
My MIT Essays
As I frequently get requests to share my MIT essays, I thought why not just put them on my blog...
Competitive Programming
Disjoint partitioning with binary representation
A useful yet not-so-popular trick.