Tech IndustryMar 26, 2019
BloomberghsuzTbf83

Multithreading in FAANG interviews

How important is multithreading for FAANG senior developer interviews? Does it come up at all? Especially if I claim python as my first language.

Add a comment
New
arch135 Mar 26, 2019

There is always “RACE” condition in FAANG !

Oracle now@Rubrik Mar 26, 2019

It’s very important if you are talking to recruiters from FAANG at the same time

Bloomberg hsuzTbf83 OP Mar 26, 2019

That’s the idea. I don’t want all the threads to throw exceptions at the same time. ☹️

PTC bGuR03 Mar 26, 2019

Faang interview = leetcode medium / hard. There is rarely any use of low level threading constructs.. But you should be proficient in talking about parallel programming, immutable data structures, functional approaches to parallelism or actor systems or something similar for design rounds.

Dropbox systest Mar 26, 2019

Can anyone confirm? This sounds weird.

PTC bGuR03 Mar 26, 2019

I welcome other inputs. But I solved around 300 lc before finally getting into Google. Didn't use threads once. Not saying that parallel programming is not useful.. Just saying that threads are generally abstracted away. If your algo for a leetcode type problem depends on state and locking, then you are probably doing it wrong. Rather use something like java stream.parallel or Scala parallel transformations on immutable ds or numpy in python. Again, this is applicable for interview type questions only.

Micro Focus pqx9 Mar 26, 2019

I interviewed at a non-FANG company. The interviewer wrote out a bunch of multithreaded code and asked questions about it, and how to refactor it. Completely threw me off because I came to the onsite to regurgitate memorized leetcode solutions and not display any of my actual technical skill lmao

Bloomberg hsuzTbf83 OP Mar 26, 2019

😩

PTC bGuR03 Mar 26, 2019

That's rare. If they want you to deal with threads, then they are probably dealing with legacy code. There's no direct interaction with threading in spark or tensorflow or scikit, or micro services world. I would rather throw another container in the cluster than deal with debugging threads.

Google bantaiii Mar 26, 2019

Linkeind, Niche trading shops(Jane street ) asks. In Google system design conversations can resolve around issues with concurrent access (serialization, locking, mutability). So ensure your fundamentals about multithreading, essentially concurrent programming is clear. Dont worry too much on language specific constructs.

Google jf8s3b Mar 26, 2019

In an interview at citadel securities it came up. Interviewer didn’t care much about what language just wanted a concurrent solution in c++, java, or python.

Google bantaiii Mar 26, 2019

Same for Jane street. Focus on concepts rather than constructs.

Google jf8s3b Mar 26, 2019

in this case they wanted running code

Morgan Stanley nycgandalf Mar 26, 2019

It's been a couple of years so I don't remember the exact question, but the first question in my Google on-site was about multi threading. So I guess it depends on the interviewer.

Microsoft MissingNo. Mar 26, 2019

Dropbox asks multithreading questions.

Google meXe73 Mar 26, 2019

FAANG won't ask about this unless you list it on your resume and one of your interviewers wants to know if you're full of shit. We MapReduce instead of multithreading. Unless you are interviewing for a very specialized position where it's obviously relevant. But not for general SWE

New
vpkf84 Mar 26, 2019

Multi threading is an interview topic one would need to brush up on for a Dropbox interview, as I’ve been told.