Lawson Robb interview question

Design exercise