Before you write a single line of code, you need to understand how Google evaluates you. I'll walk you through the real data: acceptance rates, scoring rubrics, interview stages, and what former Google executives have said publicly.
Everything here comes from verifiable sources: Laszlo Bock's book "Work Rules!", Eric Schmidt's "How Google Works", and Google's own People Analytics research.