r/programming • • Sep 22 '20

Google engineer breaks down the problems he uses when doing technical interviews. Lots of advice on algorithms and programming.

https://alexgolec.dev/google-interview-questions-deconstructed-the-knights-dialer/
6.4k Upvotes

1.1k comments sorted by

View all comments

Show parent comments

194

u/CharonNixHydra Sep 22 '20

Ding ding ding!

I went through the entire interview process with a FAANG company. It was for a someone who specializes in low level camera integration with embedded Linux / Android. I have several patents in this domain and have been in the field for almost 20 years. During the entire process the camera questions were softballs very basic stuff that anyone who worked with a camera for a year or two would know. Of the three coding interviews in the process I ran out of time on the last one and because of this they rejected me.

It bothers me greatly that the camera specific interviews with their camera engineers were so basic. It tells me that their camera engineers probably don't have a deep understanding of what they are working with. I creeped on their LinkedIn profiles and none of those engineers had more than a few years working with cameras. So they are hiring camera engineers based on their algorithm skills but that skill set has almost no use in low level embedded Linux camera systems.

118

u/foundboots Sep 22 '20 edited Sep 22 '20

Reminds me of Apple Google rejecting the guy who wrote Homebrew because he couldn't reverse a binary tree.

edit: got my infamous engineering rejections mixed up.

80

u/Hibame Sep 22 '20

No, in this instance it was Google yet again. https://twitter.com/mxcl/status/608682016205344768

47

u/[deleted] Sep 22 '20

Yep, he actually ended up getting hired by Apple.

0

u/[deleted] Sep 22 '20

[deleted]

0

u/[deleted] Sep 22 '20

[deleted]

53

u/ouiserboudreauxxx Sep 22 '20

People are saying the same thing in this thread! That what he created was 'simple' - isn't simple good? We don't need to make things unnecessarily complex(unless you're organizing a FAANG interview, that is).

14

u/[deleted] Sep 23 '20

Simple is better than Complex

Complex is better than complicated

It’s amazing how many of my coworkers over engineer things to the point of complicated. No, you’re not clever. You’re building an unmaintainable mess.

3

u/junior_dos_nachos Sep 23 '20

Complicated code is the thing I reject most in code reviews. A month ago I rejected a line of code that used a lambda function to concatenate a string (Python). The fuck what’s wrong with f strings or any other way to concatenate a couple of strings in Python??

0

u/[deleted] Sep 22 '20

[deleted]

19

u/karmicthreat Sep 22 '20

Hacker News is full of people that are fairly smart, but complete idiots.

3

u/[deleted] Sep 22 '20

The tech industry is full of skilled but stupid people.

Gone are the days you had to be truly smart to understand everything that happens in a tech stack to get your product to work.

But the perception that they are smart people is still there.

Guys that can code deep compiler optimizations but don't see why getting the company matching 401k contributions is good

7

u/truth_sentinell Sep 22 '20

If you find it, link me please.

6

u/StabbyPants Sep 22 '20

huh, i'd like to know what it is they think qualifies someone. probably "only counts if it's something i personally can evaluate"

→ More replies (3)

15

u/MrDOS Sep 22 '20

That was actually Google, not Apple (which is still bad, but a little better).

→ More replies (5)

8

u/munificent Sep 23 '20

It tells me that their camera engineers probably don't have a deep understanding of what they are working with.

It may just say that you didn't get any of the deep camera engineers on your interview loop.

4

u/uh_no_ Sep 23 '20

that was my thinking. the camera experts are probably the most valuable in that org....why would they waste their time before they've vetted a candidate for the other skills they feel they need which are cheaper for them to weed out...like basic camera knowledge and algorithms

45

u/RazerWolf Sep 22 '20 edited Sep 22 '20

That's basically everything that's wrong with this industry. Algorithmics are useful don't get me wrong, but they're not the whole pie. It's just a hazing ritual some "senior" (5 years experience does not make you a senior in my book) devs use to showcase how smart they think they are. Dunning Kruger in full force.

39

u/civildisobedient Sep 22 '20

It's just a hazing ritual some "senior" (5 years experience does not make you a senior in my book) devs use to showcase how smart they think they are.

A good senior developer understands that the best solution isn't necessarily the most performant solution because there are often more important business considerations (time-to-market, system complexity, code maintainability, etc.) than raw execution speed.

30

u/ThisIsMyCouchAccount Sep 22 '20

the best solution isn't necessarily the most performant solution

"Reddit" has shit on me before for sharing this attitude but I stand by it.

Everything is a feature and there are no defaults.

Security, performance, maintainability, expandability....everything.

Because everything takes time and time takes away from whatever the budget is. The budget could be money or it could be the amount time before a deadline.

5

u/PBRmy Sep 23 '20

There IS such a thing as "good enough".

36

u/gropingforelmo Sep 22 '20

That's such an accurate way to describe it. If you've crammed Leetcode, and seen the problem before, you can probably regurgitate some solution in a restricted time. But what does that say about a developer's value and skills? At most it shows that they're willing to crunch through a large number of tasks that are unrelated to a specific task, just to get a job.

7

u/GhostBond Sep 22 '20

It's just a hazing ritual some "senior" (5 years experience does not make you a senior in my book) devs use to showcase how smart they think they are.

Some of the consultants I worked with were not subtle that they understood it was a way to keep other people out providing a reason to reject them.

6

u/ryuzaki49 Sep 22 '20

If you didn't need that job, you could have walked away, refusing to answer those questions.

→ More replies (3)