How much memory does a call to 'malloc' allocates? – Daniel Lemire's blog
lemire.me
lemire.me
They made it into a competition and it was so much fun (graded on latency and efficient space usage). I remember the person who won was a PhD student who had to take the undergrad course as a prereq for some Grade level class.