"The best engineering interview question I've ever gotten" Part 1 Part 2: The challenge: Modifying memcached -- Via its incr and decr commands, memcached provides a built-in way to atomically add k to a number. But it doesn’t provide other arithmetic operations; in particular, there is no "atomic multiply by k" operation. Your programming challenge: Add a mult command to memcached.

Tags: reading   management  

Last modified 26 April 2022