Microsoft Interview Question

Asked to write code for a low-level design question