Google doesn't ask these types of trivia questions. I don't believe that you were talking to a person from Google one bit.
Everything documented about their hiring practices and anecdotal evidence from people gone through their interview process is that you talk with a real engineer and write code for your interview.
replies(3):