What Was Your Interview Process Like?

Hi peeps,

I failed my google onsite recently and I just wanted to know what you guys (for those that aced the interview) process was like.

Here's what I did:

  1. Repeat the question in my own words
  2. State some edge cases
  3. Figure out a brute force by solving an example
  4. Ask the interviewer if they agree, if no, GOTO 3
  5. Code out the solution
  6. Test the code
  7. State how to optimize

I ended up not writing any optimized code because I always ran out of time. So I think my process was totally wrong and I should have approached it some other way. So, here I am.
Please if you aced the google or any other FAANG onsite and got an offer, what was your process like?
Thanks

Comments (1)