A collection of problems (and solutions to them) I found during tech interviews