Solutions to problems on codeeval