Here are the solutions of all google interview questions from carrercup(http://www.careercup.com/).