Ibrahim Ahmed

Algorithms

How Can Anything Beat n log n?

(Updated: Nov 24, 2026), Nov 23, 2026 | 11 min read
Categories: Computer Science,
Tags: Algorithms, Entropy, Information Theory,
Why n log n is not a universal speed limit—and how entropy and branching factor explain every algorithm that beats it.

How Can Anything Beat n log n?

(Updated: Nov 24, 2026), Nov 23, 2026 | 11 min read
Categories: Computer Science,
Tags: Algorithms, Entropy, Information Theory,
Why n log n is not a universal speed limit—and how entropy and branching factor explain every algorithm that beats it.

Algorithms: Balancing

Feb 6, 2017 | 5 min read
Categories: Computer Science,
Tags: Algorithms, Graphs,
How balancing the workload across an algorithm's recursive subproblems affects its overall time complexity, with worked examples.

A case study in choosing algorithms

Aug 14, 2016 | 3 min read
Categories: Engineering, Physics,
Tags: Algorithms,
A lesson from parallelizing terabytes of dark matter simulation data: why a dynamic work pool beat a bin-packing pre-partitioning scheme.