resolution of codeeval challenges.