Microsoft Coding Challenge Solutions