News for hackers. Stuff that matters.
Re:Facebook senior software engineer interview by blisterpeanuts on Wednesday January 06, 2021 @10:55AM (#25658786)
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 out, as though I couldn't easily copy-and-paste something for him. I thanked him and hung up. All I learned from that encounter is that I'd be very unhappy working with people like him. Bullet dodged. Sure, I use my knowledge of algorithms, and I frequently look such things up on StackOverflow and improve my knowledge; we all do. But these interviews seem designed to filter out experienced, pragmatic programmers and just bring in more cookie-cutter software engineering BS/MS recent grads who speak their language. A far cry from the startup environment that most of these companies began as!
Re:Facebook senior software engineer interview by justapassenger on Wednesday January 06, 2021 @01:10PM (#25660411)
I have 20 years of experience myself, and I've interviewed and worked with a lot of people with same experience that couldn't code properly (and some of them were actually good engineers). Yes, they'd describe roughly how something should work, but the actual implementation would be super buggy, ignoring any corner cases, etc. People who stopped doing any hands on work more than a decade ago, and are just coasting without touching any code, by having more an architect/mentor/org-expert role.

If someone feels "insulted" by having to actually write code suggests that you're looking for a role where you aren't expected to actually write code. That's fine, but probably not what they're looking for.

Also, I'd advice you to be little more open to a fact, that someone with less experience than you is asking you questions. That's not a great attitude to find good jobs at big IT companies, that are often full of young, often brilliant people.

edit: typo

Re:Facebook senior software engineer interview by blisterpeanuts on Wednesday January 06, 2021 @02:03PM (#25660953)
I never stated that I felt "insulted". You're just projecting that, maybe based on bad experiences you have had.

There's an old saying: a job interview is a two-way street. You are interviewing them (or should be) every bit as much as they are you. If the applicant asks a basic question about the position, the interviewer has a duty to either answer the question or say "I'm not sure what role this is for; I've just been asked to check your technical knowledge, and then we'll get you to the actual manager who can give you a better answer. Okay?"

If the interviewer is immature, arrogant, rigid, etc., and regards the interviewer-applicant relationship as an antagonistic one, and views the applicant as incompetent and dishonest until proven otherwise, the interview will have that flavor. To me, that is a red flag about the organization. Indeed, I've heard from many sources that Amazon is a toxic environment; I have yet to hear anyone say "Amazon is a terrific place to work! [for engineers/programmers]" I suspect that if you're a high level product person who comes up with a clever idea like an AWS feature, and are able to pitch it to the top management, then you're a star, you're well paid, and life is good. But for the people in the trenches... not so great.

Re:Facebook senior software engineer interview by justapassenger on Wednesday January 06, 2021 @02:19PM (#25661124)
Original comment started by stating your many years of experience and noting that interviewer was much younger. Then complains about being asked to do coding. And then, based on just those two, saying that you know you'd be unhappy working with people like him.

Amazon isn't great environment in most of the pockets of the company (haven't worked there, but worked with a lot of people who came from there), so it's quite possible that you "dodged the bullet".

But only when pressed, you start to complain how interviewer is immature, arrogant, rigid. That's not what you originally stated - you had issues with an interviewer age and being asked to do coding. I'm not trying to defend the interviewer - it's very possible that they were bad interviewers - big tech companies push people early to start interviewing. But things that you complained about initially make it sound like you maybe also not a very pleasant candidate to work with, that comes into the interview with a lot of bias.

Re:Facebook senior software engineer interview by blisterpeanuts on Wednesday January 06, 2021 @03:23PM (#25661888)
I didn't state that I had issues with his age. I merely observed that he was probably half my age; he talked and behaved rather immaturely.

I work with younger folks all the time and 90% of them are perfectly fine; actually I enjoy their energy and drive (and there are plenty of older jerks out there). This guy, I didn't enjoy. When I hung up the phone, I was not angry, as I recall. Just disappointed that a great company would have such petty people vetting applicants. You don't have to agree with me. I'm not even sure what we're arguing about at this point; if you're just trying to prove I'm a jerk... fine, I was a jerk that day. Happy now? Have a nice day. I don't work at Amazon and I'm having a wonderful day :)

Re:Facebook senior software engineer interview by notretarded on Wednesday January 06, 2021 @06:03PM (#25663931)
If it didn't matter you wouldn't have mentioned it.

Unnecessary description.

Re:Facebook senior software engineer interview by cozos on Wednesday January 06, 2021 @04:27PM (#25662759)
Interviewers at most tech companies have to follow a script, one that most definitely requires them to ask you to code.

The interviewer has no choice other than to ask you write code. You describe the interviewer as arrogant and immature, but to me the candidate who hangs up fuming because he was asked to do a little bit of typing is the one who is antagonistic.

Re:Facebook senior software engineer interview by mrits on Wednesday January 06, 2021 @11:07AM (#25658923)
"But why?"

Because most people can't. And they want to make sure you can.

Re:Facebook senior software engineer interview by croo on Wednesday January 06, 2021 @12:14PM (#25659731)
Exactly this.

I interviewed lots of people for a small company and multiple times I became convinced the person across a table would be a good hire (based on past work experience and soft talk) only to see them bleed to death on the first technical question. Demonstration of technical skill is absolutely crucial for an interview.

Personally I don't care about pseudo code vs real or syntax errors, but the price of a bad hire is much higher than a few more questions or round for a candidate. Also FAANG will always have enough senior CV on their desk to miss a few good hire...

Re:Facebook senior software engineer interview by vechagup on Wednesday January 06, 2021 @02:08PM (#25661016)
One of my biggest interviewing mistakes was voting "hire" on a guy despite his seeming difficulty with coding during the interview because he was such a great talker and had great sounding experience. He came on board, couldn't deliver on anything, and sapped the team's morale. There are plenty of people out there who have bullshitted their way through a career.
Re:Facebook senior software engineer interview by jrd259 on Wednesday January 06, 2021 @12:10PM (#25659655)
We always allow the candidate to use any reasonable language. We're not testing if someone knows Java/Python/Lisp (I wish). We're testing if they know any language. I can confirm seeing people with resumes who nevertheless could not write any code even in the language they professed to be "expert" in.
Re:Facebook senior software engineer interview by jrib on Wednesday January 06, 2021 @04:25PM (#25662721)
Same. I learned through experience to ask for a candidate to write a couple of lines of code.

Usually it's just some simple question that requires a single loop. We explicitly tell them they can use any language including one they want to make up as long as they are ok explaining how it works. When possible, I try to relate it to the conversation we've had up to that point.

I've had someone start off by writing "four" on the board when prompted to write a "for" loop and get stuck. I'm still not sure if he was truly inexperienced or just trolling. The resume looked solid to me and he spoke well about his experience. I had almost decided to just skip the coding question as a result.

Re:Facebook senior software engineer interview by kenhwang on Wednesday January 06, 2021 @06:32PM (#25664293)
Yep. I just want to actually see you plop some if-else and for/while loops on the board in any Googleable language. I'm the one with the laptop/phone and I can learn that language on the spot if I need to.

It's basically "find the first string in an array of string that has the letter 'b'" difficulty of questions. Anyone who actually codes can whip something up in a minute and we can move on. But it's always surprising how many people spend half an hour on that and still don't get anything workable.

Re:Facebook senior software engineer interview by Philip-J-Fry on Wednesday January 06, 2021 @12:10PM (#25659663)
If you can describe an acceptable algorithm with enough detail in words, you can code it.

If some guy had a good employment history, maybe a GitHub with some examples of their skills and described an algorithm to me... Why would I doubt their ability to write it in code?

Re:Facebook senior software engineer interview by kevan on Wednesday January 06, 2021 @08:13PM (#25665855)
> If you can describe an acceptable algorithm with enough detail in words, you can code it.

I wouldn't take that for granted. It's easy to gloss over details and edge cases when talking through an algorithm and it's not apparent until you actually write the code. Similar things happen when discussing things in meetings vs writing a formal document. I've interviewed plenty of people that were able to quickly come up with algorithms to solve a problem but really struggled to translate them into code.

Re:Facebook senior software engineer interview by AnimalMuppet on Wednesday January 06, 2021 @01:34PM (#25660661)
I can. You can. But apparently, not everyone can.
Re:Facebook senior software engineer interview by driverdan on Wednesday January 06, 2021 @12:38PM (#25660048)
Most people with 20 years of experience can't write basic code? Come on.
Re:Facebook senior software engineer interview by binarytox1n on Wednesday January 06, 2021 @02:06PM (#25660986)
You must not have tried to hire a software engineer before. In a hiring cycle I encounter multiple "Senior Engineers" who can't write basic code. Fizzbuzz. Can't do it. Engineers should absolutely expect to write real code in an interview. It's preposterous to think that someone can claim to have 20 years experience writing code and then be offended to spend 20 minutes doing it in an interview.
Re:Facebook senior software engineer interview by cutemonster on Wednesday January 06, 2021 @07:39PM (#25665368)
How do they react when they fail Fizzbuzz?
Re:Facebook senior software engineer interview by binarytox1n on Thursday January 07, 2021 @12:10AM (#25667501)
I make a judgement call - either I end the interview immediately or skip most of the rest of the interview, let them think they made it all the way through the interview and say that we will get back to them with a decision later. When I end it immediately they usually take it badly but these are times that I just can’t justify wasting any more time on them. The bad reactions run the normal gamut of bad human reactions: angry, sad, indifferent, humor, etc.
Re:Facebook senior software engineer interview by cutemonster on Thursday January 07, 2021 @11:26AM (#25673050)
That's interesting:

> [I] let them think they made it all the way through the interview

Maybe then, although they get rejected later, they still won't be particularly upset at your company -- since the in person interaction was friendly and positive (i suppose), and you can take some time and write a friendly rejection email or phone call too (i suppose you have a template)

Re:Facebook senior software engineer interview by paxys on Wednesday January 06, 2021 @12:59PM (#25660314)
I have been a tech interviewer for a decade, and this is spot on. The entire reason FizzBuzz-style questions are popular in screening interviews is that most people fail them.
Re:Facebook senior software engineer interview by driverdan on Wednesday January 06, 2021 @05:23PM (#25663468)
I imagine this problem is much worse at large, highly paid, highly desirable companies. My experience in hiring at smaller companies has not shown this. I've never had a candidate with 10+ years of experience who couldn't code.
Re:Facebook senior software engineer interview by clusterhacks on Thursday January 07, 2021 @10:56AM (#25672433)
We are a smaller org and hire occasionally for roles that are most suitable for early career applicants.

We always get several applicants with 10-20 years of experience who have programming projects on their resume or described in their cover letters.

But in our (very minimal) technical evaluations, lots of these candidates can't do anything at all. No coding, psueudo-code, nothing.

Usually, it turns out they have been really doing light IT work for years - using reporting tools, maintaining little scripts, even just some Excel jockeying. But they still think of themselves as software engineers.

My gut feeling is that lots of these candidates could learn (relearn?) to code, but have spent years not coding.

I don't have the numbers in front of me, but I would guess that the majority of these types of candidates (10-20 years of experience) that apply to our roles can't code in an interview situation and haven't been programming recently.

It is definitely not all of the experienced candidates who fit that profile. The few very experienced candidates we get who can code are often excellent but are looking for salaries well beyond our range.

Re:Facebook senior software engineer interview by bcrosby95 on Wednesday January 06, 2021 @02:57PM (#25661492)
We hired one who couldn't. He turned out to be more of a mentor/big vision/best practices guy. Which is probably OK to have one or two of those if you're a large enough org.

But we had 3 devs. I think he gave some great advice (and looking back - still think so 12 years later), but it just wasn't what we needed at the time.

The funny thing is, when we let him go (he knew it was coming - he wasn't blind to the problems) he got hired at a company we worked regularly with. Things worked out much better for him there.

Re:Facebook senior software engineer interview by cutemonster on Wednesday January 06, 2021 @07:41PM (#25665411)
What was some of the advice, if you happen to remember?
Re:Facebook senior software engineer interview by pklausler on Wednesday January 06, 2021 @11:59AM (#25659553)
This is the answer right here.
Re:Facebook senior software engineer interview by janoc on Wednesday January 06, 2021 @11:13AM (#25658987)
And it proves what exactly? Except that they have lost out on a good hire only because that hire is not familiar with that particular programming language that the interview is.
Re:Facebook senior software engineer interview by Balgair on Wednesday January 06, 2021 @12:00PM (#25659564)
These types of interviews are very similar to the Confucian Imperial Examination tests (Keju) of China [0]. The Keju's main purpose was to exclude peasants while giving the imperial bureaucracy the image of a meritocracy and therefore legitimacy. They also helped enforce a common culture, script, and style of writing for the large empire. To be clear, the Keju changed a lot as China's history evolved and it changed with China and is not a unified 'thing'.

The expense and time for study excluded many people and I have heard that whole villages would pool resources for just one son to buy the exam materials and take the time to study for the exam. Richer families didn't have need to sacrifice as such, of course. Typical success ratios were ~1:50 exam sitters. The Taiping rebellion was a direct result (among many) by such a man that failed his exams a few times (later declaring himself the brother of Jesus, but that's whole other story).

Though exam subjects changed over time, it typically included recitations of Confucian poetry, calligraphy, instrumental music, and other such gentlemanly subjects. You know, things you really need your bureaucrats to know to run an empire well.

Similarly with FAANGs (and previously with GMC/Ford/Chrysler, or in academia), the interview/exam is geared not towards the actual specifics of the job, but rather in the 'pruning' of the people and the appearance of legitimacy. They are selecting for people that will go through the hoops and the nonsense without questioning it and will make good bureaucrats (loyal, command-able, lacking vigor). Boat-rockers are selected out before they even start the irrelevant studying process.

[0]https://en.wikipedia.org/wiki/Imperial_examination

Re:Facebook senior software engineer interview by Analog24 on Wednesday January 06, 2021 @11:20AM (#25659064)
But that's not how it works. You are almost always free to use why language you want. There are exceptions to this but in those cases it would be clearly indicated in the job description.
Re:Facebook senior software engineer interview by erik_seaberg on Wednesday January 06, 2021 @06:45PM (#25664454)
We have approved languages for projects at work (Java, Scala, Go, and Python in special cases), but I let candidates use any language I can read, and it’s never been a problem.
Re:Facebook senior software engineer interview by RobRivera on Wednesday January 06, 2021 @12:03PM (#25659582)
lot of paper tigers out there
Re:Facebook senior software engineer interview by janoc on Thursday January 07, 2021 @12:34PM (#25674228)
Then pick up a phone and call their references. A "paper tiger" with 10+ years experience (since we are talking a senior position) likely could not have just "winged it through" the entire time.

Subjecting such person to a CS exam totally unrelated to what they will be doing (such as project management and leading a team of developers) is a complete waste of time for both sides and you still don't test whether that person has the skill they will actually need for the job.

But yay, you have found that they are great at inverting a tree or designing a complex hashing scheme at the whiteboard under pressure. Exactly what your company needs. Not.

Re:Facebook senior software engineer interview by avl999 on Wednesday January 06, 2021 @12:16PM (#25659774)
While I have sympathy for the idea that some of these interviews can be ridiculous, however it doesn't seem like the interviewer was in the wrong here. As an interviewee you should have known what interview process is like, I worked at Amazon and I know the recruiters brief the candidates on what to expect in the interview, so you should have known going in that you'd be expected to write code, you could have said no right there and then in the email instead of hanging up on the guy.
Re:Facebook senior software engineer interview by blisterpeanuts on Wednesday January 06, 2021 @12:26PM (#25659908)
They didn't brief me to expect that. Or, to be fair, maybe they did and I missed it. I didn't mention above that he refused to answer a couple of basic questions (what type of work is it? what language? where will the job be? can I be remote?) until he got through the script. It was like talking to a machine. And he was rude. I got a negative impression. I know, sometimes recruits are expected to put up with some rudeness or brusqueness to show how flexible they are, can put up with different personalities etc. But this guy just came across as kind of immature and arrogant. Sorry, but I'm quite glad I terminated the interview and he also seemed unwilling to push at all, just said "okay!" in a sing-song voice that implied "yeah whatever, go die". At least be polite and try to convey some professionalism or you're going to turn off people who prefer to work around professionals.
Re:Facebook senior software engineer interview by vechagup on Wednesday January 06, 2021 @02:36PM (#25661301)
> he also seemed unwilling to push at all, just said "okay!" in a sing-song voice that implied "yeah whatever, go die"

Is the idea here that you wanted the interviewer to beg you to stay on the call?

I interview for a BigCo. Most of us do it not because we love interviewing but because 1) It's a way to check the "citizenship" box on performance reviews. 2) A director or VP sent a mass email exhorting us to join the interviewer pool. Everyone I know in fact views interviewing as a chore that takes away from one's day job. But, there's standardized training and emphasis on objective tests and rubrics to minimize bias. Given this assembly line process and the fact that most interviewers want to be elsewhere, there's very little reason to expect a random interviewer to want to sell you on continuing a process that you consider yourself above.

If a candidate proclaimed that they didn't agree to the terms of one of my interviews midway through, I'd certainly exchange a few words with them to try to make them more comfortable, but in the end I would by fine with bidding them farewell and being glad that writing up that interview feedback would be easy.

Re:Facebook senior software engineer interview by blisterpeanuts on Wednesday January 06, 2021 @03:27PM (#25661948)
I mean, yeah, you're probably right. I might have stayed on the call if he'd explained why the actual code was necessary, could even have met me halfway by saying "Yeah, I know it's kind of silly, but it's a requirement. Would you mind doing this, and then we can get on to more interesting stuff?" Or something like that, but he didn't have any kind of friendly or diplomatic response, maybe I was feeling impatient that day; I honestly can't remember because this was like 10 years ago.
Re:Facebook senior software engineer interview by vechagup on Wednesday January 06, 2021 @05:52PM (#25663811)
Yeah, one consequence of hiring exclusively based on technical skill is that you end up with some employees that are empathy challenged. My employer recently added one "are you a human?" interview to every loop presumably for this reason.
Re:Facebook senior software engineer interview by nobodyandproud on Wednesday January 06, 2021 @12:40PM (#25660084)
My one face-to-face interview (put me off for life): Some interviewers were there because they’re committed.

Some were doing it because they had to (last-second substitute) and it showed as they were rude about it or highly disorganized.

You don’t have to take it and it’s okay to cut interviews short as the interviewer (I’ve done it before), but it’s a mistake to be unprofessional about how it’s cut short.

Re:Facebook senior software engineer interview by VRay on Wednesday January 06, 2021 @03:14PM (#25661741)
Yeah, you're getting a lot of pushback from the corporate drones on here, but you 100% made the right call. If you want to be a part of the FAANG hive mind, you have to be willing to jump through a bunch of hoops. The job itself is mostly just cranking out/maintaining a bunch of boring backend plumbing for boring stuff, with little to no correlation between the value you bring to the company and your compensation. Saved the company a million bucks a year? "Great, here's a $25,000 bonus." Saved the company a million bucks a year, but your VP lost a fight with another VP? "You're just not a team player, no bonus this year"
Re:Facebook senior software engineer interview by codingprograms on Wednesday January 06, 2021 @05:18PM (#25663405)
I know you’d like to believe this. But I see a constant stream of challenging software problems at FAANG
Re:Facebook senior software engineer interview by VRay on Wednesday January 06, 2021 @07:26PM (#25665092)
Yeah, but basically anyone at a FAANG company who landed in any other non-FAANG company would be able to singlehandedly revolutionize the tech at that company.

Those same skills that let you plug Machine Learning Library A into Tracking Database B could make things that vastly increase productivity for a bunch of regular people, and if you're doing it for yourself or a small enough shop, it could actually pay off.

Re:Facebook senior software engineer interview by codingprograms on Thursday January 07, 2021 @02:34AM (#25668277)
I can’t tell if this is sarcastic or not
Re:Facebook senior software engineer interview by VRay on Thursday January 07, 2021 @01:14PM (#25674912)
ah, you'll probably get there someday.. Hopefully via observation and not via getting repeatedly screwed over by politicking middle managers
Re:Facebook senior software engineer interview by paxys on Wednesday January 06, 2021 @01:46PM (#25660777)
Why is the fact that the interviewer was half your age relevant? I interview and reject senior engineers with 20+ years of experience every day. They are extremely good at throwing out the right buzzwords and sounding smart, but digging a bit further it's obvious that they have spent the latter part of their career playing politics at large companies rather than doing any real engineering work. A simple FizzBuzz is enough to weed out most such candidates, and if someone refuses to spend 5 minutes of the interview writing actual code (in their language of choice) they are an automatic fail.
Re:Facebook senior software engineer interview by blisterpeanuts on Wednesday January 06, 2021 @03:31PM (#25662019)
Yes, a simple FizzBuzz can certainly weed out people who aren't very good at playing the FizzBuzz game.
Re:Facebook senior software engineer interview by Aunche on Wednesday January 06, 2021 @12:32PM (#25659971)
Companies like Amazon have standardized procedures for interviews. At the company I work for, the person interviewing isn't going to be the same person who hires you, so they need more data that just the interviewer's notes. Also, deviating from the standard procedure opens up the effect of unconscious bias.
Re:Facebook senior software engineer interview by B-Con on Thursday January 07, 2021 @01:08AM (#25667794)
This is the correct answer. The interviewer is only the to gather data, the hiring committee makes the decision and they need concrete days to look at. "Take my word for it" doesn't fly as an interviewer.
Re:Facebook senior software engineer interview by ratorx on Wednesday January 06, 2021 @03:14PM (#25661739)
I wouldn’t blame the specific engineer for this too much (for asking you to write down the code). If Amazon is the same as Google, then there is a lot done to standardise interview scoring. Part of the guidance given to interviewers is to make sure that the candidate has produced actual “working” code. The code is included in the interview feedback that the interviewer writes.

Source: Interview trained at Google

Re:Facebook senior software engineer interview by limaoscarjuliet on Wednesday January 06, 2021 @11:45AM (#25659367)
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.
Re:Facebook senior software engineer interview by scruple on Wednesday January 06, 2021 @01:14PM (#25660454)
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 by est31 on Wednesday January 06, 2021 @11:50AM (#25659424)
> how they move around source file, even if they can seamlessly copy paste their code, etc., are all very telling.

This reminds me of the test for cooks. Make them slice up some fruit or vegetable. If you have worked in kitchens for years, you can do it really quickly. Fast and easy test, and nothing to prepare weeks or months for.

Re:Facebook senior software engineer interview by kevinventullo on Wednesday January 06, 2021 @12:46PM (#25660156)
I would not attribute the requirement of writing out code as something your interviewer personally demanded. He was simply following a template.

The point is that when you write out the code, there will be several other people who will end up looking at it as part of your “packet”. This can actually be beneficial for the interviewee: if you use some technique or library that the inexperienced interviewer has never seen, they might be confused and write negative feedback, but someone down the line will be able to see what you wrote and say, “Oh, this is actually really good.”

Re:Facebook senior software engineer interview by WhompingWindows on Wednesday January 06, 2021 @01:42PM (#25660739)
Maybe he had requirements to get actual code samples from applicants. He probably trusted you could do it, but companies have protocols, they probably would want to run analyses on the answers, too.
Re:Facebook senior software engineer interview by sfashset on Wednesday January 06, 2021 @11:23AM (#25659101)
If you're the one copy pasting code, aren't you the cookie cutter software engineer?
Re:Facebook senior software engineer interview by EForEndeavour on Wednesday January 06, 2021 @11:52AM (#25659452)
They didn't say they copy-paste code. They pointed out that the algorithm's actual code could very easily be copy-pasted from, e.g., Stack Overflow, without deeply understanding it. By contrast, describing an algorithm in natural language demonstrates actual understanding.
Re:Facebook senior software engineer interview by vlovich123 on Wednesday January 06, 2021 @12:17PM (#25659780)
Both are necessary but neither is sufficient. If you have someone who perfectly understands the algorithm but can’t write the code, that’s a different utility than someone who can write code but doesn’t know the optimal algorithm solution. You can say “at work I’d look up a reference” but in an interview setting that’s not helpful where the interviewer needs both. That’s kind of why I really don’t like remote tests. It’s really hard to filter out those trying to cheat. I’ve observed how leetcode stuff tries to track you looking stuff up and it’s theater. Just get a tablet or second laptop (or even use your phone) and the site can’t track if you’re actually looking that up.

I get annoyed with those tests and interviews too, but I’m aware of the challenge on the other side so I take it with a grain of salt and would never let my ego make me arrogant enough to take umbrage at being asked to write down a piece of code. I can understand the frustration, but this process is applied equally along all levels. Hell, the most talented people I worked with were regularly interviewed on coding by people more inexperienced/less talented than them. I would have a hard time any of them expressing anything other than mild annoyance at the system that this is still the best we’ve managed to do and no one would think to say “what right does this young inexperienced person have to ask me questions”. If anything, that attitude would instantly disqualify someone on the “fit” axis of the interview even if they passed on the technical merits.

Re:Facebook senior software engineer interview by blisterpeanuts on Wednesday January 06, 2021 @12:19PM (#25659823)
Thank you, yes, that was my point. The interviewer gave me a choice of languages, as I recall in fact he said "use a language you're comfortable with" and I thought to myself, what does this prove? I can google the answer and paste it in without him knowing. Whereas, I can explain instantly how I would do it, too fast to have googled it, and he could maybe interactively ask me "what about this condition? how would you check for errors?" etc. The other thing is, he was unwilling to answer any of my questions until we got through this exercise, and I felt he was being rude and somewhat arrogant though I was being quite polite. I'm more than happy to show off my coding skills - I know lots of languages - just wanted to cut to the chase. Maybe I was too impatient. Or, you know, what they say about trusting the first impression is true!
Re:Facebook senior software engineer interview by xdavidliu on Wednesday January 06, 2021 @06:59PM (#25664625)
you seem to be protesting too much. I think it's entirely reasonable for a tech company to ask for code, even if you can describe the algorithm in plain english. Surely writing the code is significantly less than the effort you're expending right now to demonstrate to us why they are unreasonable?
Re:Facebook senior software engineer interview by pnw_hazor on Wednesday January 06, 2021 @12:49PM (#25660182)
He may not have been able to understand your answer without seeing it in code.
Re:Facebook senior software engineer interview by LordHumungous on Wednesday January 06, 2021 @11:34AM (#25659231)
You have a hard time at Amazon
Re:Facebook senior software engineer interview by TameAntelope on Wednesday January 06, 2021 @11:42AM (#25659328)
For what it's worth, I don't think he'd disagree with you.

Additionally, I would probably translate that to be, "Unwilling to put up with what appears to be needless effort."