Live data from Hacker News

Facebook senior software engineer interview

daqo.medium.com

261–270 of 524 posts

Re: Facebook senior software engineer interview

#261

Earlier quoted context omitted.

After 20 years in software, I had a phone interview with an Amazon guy who sounded half my age (at most). Asked me to write some kind of function to do something, sort some stuff or some such. I described verbally how I would do it, almost line by line, in pseudo-code. He said "I need you to write it out in [some language]". I said "But why? I just told you how I'd do it." But he needed me to literally write the code…

I am often on the other side interviewing the candidates for company I work for. For junior positions we do ask them to write some simple code e.g. matching parentheses or the like. It makes it very clear how much experience writing code given candidate has - typing speed, how they move around source file, even if they can seamlessly copy paste their code, etc., are all very telling.

For nearly 2 decades, vi(m) (or a vim emulator or integration layer) has been my daily editor.

I recently had an interview where I had to use some remote collaborative web application and it was genuinely a horrible experience. The main interviewer (lead for the team I was applying for) was visibly annoyed with me because, for whatever stupid reason, some of the keyboard shortcuts he kept trying to bark at me, as I was working through some truly asinine leetcode-style questions, for things like block indentation were not working on my end and I had to manually tab multiple lines, etc...

The entire editing experience threw me really hard and was so distracting that I was fumbling what would've otherwise been trivial algorithm questions for me. Despite my 15 years of professional experience and a deep understanding of their tech stack (which, of course, was not a main discussion point at any stage of my interview process -- one of many red flags for me), if you had watched this you'd have thought I barely know how to write code.

I don't know what the answer is here but I have decided, and thankfully I have the privilege of making this decision, that I am done interviewing for a while.

Re: Facebook senior software engineer interview

#262

Ahh, so they're not actually looking for seniors then? Sounds like they want people who are "passionate" enough to spend months prepping for an interview so they can milk them dry without the risk of pesky things like "free time" and "family" getting in the way. Tongue in cheek analysis aside: - A phone interview to weed out timewasters. - A RELEVANT technical take-home task that could be done feasibly in a few hours…

technical take-home task is mostly time wasted for the candidate, working for hours just to be ghosted again and again, you will be selecting for people who have nothing better to do.

I'd skip that (and leetcode) entirely and during in-person chat put emphasis on discussing prior projects in detail.

As for "system design" ask a question on your current architecture, how would they approach solving a particular problem you actually have/solved, and see what questions they ask.

That's how good people who built the tech industry used to get hired in the old days (i.e. when they were not friends of friends)

Re: Facebook senior software engineer interview

#264

Earlier quoted context omitted.

Is that true? I don’t know anything about medical licensing, but after having a few friends take the California bar exam, I’ve heard endless complaints about having to study things like divorce law in order to become a privacy advocate.

But in the case f doctors and lawyers, they pass it once, not every time they interview for a new job. Software doesn’t have licensing, so we do this bullshit every single time.

We would still do it if there was licensing. Doctors and lawyers still interview for jobs.

Re: Facebook senior software engineer interview

#265
post #2

There are two interesting things in this post. The first is that a senior developer at Facebook believes every single senior developer looking for a role at Facebook can revise the same things. Clearly the author believes that Facebook are looking for programmers who fit a very specific mould, to the point that they're willing to go out in public and state exactly that. I'd argue that points to a massive monoculture…

1) This isn’t unique to FB. 2) The kind of interview being described has been critiqued by many people, many times on HN itself (I am definitely one of those). The problem is that there are no good alternatives. One suggested alternative, take home exercises, became a mess because a lot of companies, and individuals at companies, started treating them as free labor. Beyond that, they need to be more complex to the point that an interviewee is doing actual work. 3) The best way to look at these interviews for senior engineers is them testing your ability to learn something “new” at a very fundamental level. It’s the equivalent of them selecting people based on their success in a badminton tournament. You will most likely need to pick up the game and it doesn’t have much to do with your day to day job, but it does say a lot about your ability to pick up new skills/tech ologies. The difference is that these interviews, unlike a game of badminton, actually have something to do with your job.

To be honest, it’s not ideal, and I particularly hate it because I find it hard to find time to study and prepare when I have a family that I don’t want to neglect, and also a full time job that i would find immoral to take time away from. But it’s simultaneously hard to find better alternatives.

Re: Facebook senior software engineer interview

#266
post #30

How can anyone work at Facebooks nowadays and have a clear conscience. Is it just the salary? It is, isn't it? Just money. How depressing.

Not everyone follows American politics and watches sensationalized American news media all day. Facebook is a great place to work, has some of the best tech in the industry and its products have done a lot of good for the world, especially in developing countries.

Re: Facebook senior software engineer interview

#267
post #81

Earlier quoted context omitted.

Even if it isn't, do doctors have to retake these exams multiple times (as developers have to do this for multiple interviews) every two years when wanting to switch jobs (doctors often don't have to switch jobs, they often have their own practice).

They also have to go to school for 10 years before they’re even allowed in the job market. I’ll take our sometimes silly interview processes over that.

>They also have to go to school for 10 years before they’re even allowed in the job market.

Not to mention that during that time they are accruing loans in insane amounts (we are talking about $200-300k) and get worked in insane shifts (24-36 hour shifts are not unheard of during residency rotations).

Oh, and they don't get paid at all until they start residency rotations which is AFTER 4 years of med school, and their pay during residency is on the order of $30k-50k for what effectively amounts to 80-100 hours a week. Mind you, that's on top of the fact that in the US, you only enter a med school after you already got a college degree. So you enter a med school at the age of 23.

I have respect for the doctors, but I definitely do not envy their position. Their real work doesn't even start until their 30s, at which point they are already really deep in student loan debt. Of course it is manageable, since they get paid handsomely. But their work-life balance and the entire process where you start your "real work" after the age of 30 with $200-300k in loans, at that point, isn't something that a lot of people consider when they think "those doctors are having it nice."

It isn't even a second thought to me that I would much much rather study for interviews every single time i switch a job as a software engineer than deal with what doctors deal. And that's not even mentioning that studying for a typical software dev interview is absolutely nothing compared to the studying that med school students have to do in order to pass their board exams.

Re: Facebook senior software engineer interview

#268
post #30

How can anyone work at Facebooks nowadays and have a clear conscience. Is it just the salary? It is, isn't it? Just money. How depressing.

Well, I have never applied to FB and don't plan to in the short term, but I can tell you that I don't see any reason not to.

They offer me a service which is quite useful: Keep me in some form of contact with long lost relationships I had while I lived in the UK, Germany and several cities in Mexico. I've done really good friends in those places over the years, and it makes me happy to see what's happening in their lives and even "react" to minor stuff that they post there after months of no interaction with them.

Before I had facebook (around 2004) I used to write an email every December to a list of friends I had from different places, just to make sure we had some contact. And I also used to ping them in chat (Windows Messenger), but the problem there was that the conversation was just "what's going on", "nothing here, what's going on there...." , "nothing". Whereas with Facebook, the moment one of my friends opened a tatoo place, I could write some small comment and we would "virtually hug" and exchange thoughts for a minute.

Regarding the "conscience" thing, Personally I don't see anything terrible that Facebook is doing. As long as people understand that this is the internet, and whatever you upload in ANY place in the internet is inherently public, all is fine for me.

Re: Facebook senior software engineer interview

#269

Most of the people I know who did competitive programming in high school spent a just a few evenings preparing for FAANG interviews and still got offers in the end. I have the feeling that all the bitterness towards this interview process comes from people who refuse to do the initial investment of time to learn the foundation for solving coding challenges. Once you go through and understand a few hundred coding chal…

> I have the feeling that all the bitterness towards this interview process comes from people who refuse to do the initial investment of time to learn the foundation for solving coding challenges.

My bitterness comes from the fact that the interview process does not reflect what happens in day-to-day work. If I had to invert a n-ary tree, I would google how to do that, which I can't do during the interview.

> Once you go through and understand a few hundred coding challenges, things start to repeat themselves and then it just takes practice and consistency.

Assuming you spend about an hour to solve and understand a given coding challenge, that's a couple of hundred hours. Assuming an hour a day, that's about 3 months for 100 questions. That's not a trivial amount of prep.

>Personally, I find coding challenges fun and even quite enjoyable at times, so I don’t see why it’s a waste of time to get good at them.

Personally, I would prefer to spend that time enjoying my life. Whatever floats your boat.

Re: Facebook senior software engineer interview

#270
post #30

How can anyone work at Facebooks nowadays and have a clear conscience. Is it just the salary? It is, isn't it? Just money. How depressing.

>Is it just the salary? It is, isn't it? Just money. How depressing.

Of course it is. FAANG is just the 1980s Wall Street of our day. I can only pray that eventually people will realize how predatory and dangerous these companies are and decline to work for them. But Ivy League/Elite Uni grads only care about prestige and so as long as working there is seen as prestigious they will continue to sell their souls.

Post reply on HN