DEV Community

Discussion on: Interviewing at Google? Here’s 6 Things You Absolutely Need To Do

Collapse
 
dance2die profile image
Sung M. Kim • Edited

Thanks Anthony for sharing the know-hows.

I've summarized what I've learned below. Would you let me know if I got the gists correctly?

  1. Repeat the question in your own words
    Understand the question.

  2. Check assumptions
    Think of all edge cases

  3. Use real examples
    Walk thru your algorithm with real data manually.

  4. Brainstorm solutions and their time/space complexity
    Optimize your algorithm using data structures/algorithms and comparing tradeoffs

  5. Write working code (no pseudo-code please!)
    Get your hands dirty with real code writing.

  6. Test your code, always
    Iron out bugs and use your examples/edge cases to test your code.

btw, the Medium seems to be 404...

Collapse
 
anthonydmays profile image
Anthony D. Mays • Edited

Yup, you got it. And link fixed!

I'll add that in step 5, you want to learn how to express your thoughts in code quickly. Come with a lot of practice or hands-on experience.

Collapse
 
dance2die profile image
Sung M. Kim

I appreciate the confirmation & clarification, Anthony~

And here is ✋5️⃣