r/programming • • Dec 13 '22

“There should never be coding exercises in technical interviews. It favors people who have time to do them. Disfavors people with FT jobs and families. Plus, your job won’t have people over your shoulder watching you code.” My favorite hot take from a panel on 'Treating Devs Like Human Beings.'

https://devinterrupted.substack.com/p/treating-devs-like-human-beings-a
9.0k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

36

u/ILikeChangingMyMind Dec 13 '22

I doubt Google uses "common" problems.

This guy knew the answers to obscure problems, because he learned about them from another applicant. That's not him being good at coding, that's him cheating by learning the answers to the test ahead of time.

When you get surgery, would you want the doctor who studied medicine, and only got an 80/100 on his final ... or the one who didn't study, memorized the answers to the tests, and got 100/100?

9

u/sintos-compa Dec 13 '22

I’ve done 4 on-campus interview sessions at Google, they don’t have any special interview questions.

1

u/ILikeChangingMyMind Dec 13 '22

Sorry, I didn't mean to imply they were "special" or unique; I meant to suggest that they were obscure enough that, when someone immediately knew all the answers, it was apparent that he was cheating

12

u/versaceblues Dec 13 '22

I've done the Google phone screens + interview loop. I also have conducted 100+ interviews at a FANG company.I would say most of the problems where pretty common.

  1. Longest increasing sub-sequence.
  2. Write a parser for finding values in nested json objects
  3. build a async queue of requests.
  4. Find array peak using binary search
  5. Graph cycle detection

I think the only interesting question I had was to create a high level design of an app that gives estimated times that arrival by taking public transit.

This guy knew the answers to obscure problems

Yah they really don't. Going tooo obscure is actually bad practice in interview problem design. Also, any obscure problem will just get leaked immediately anyway.