Data Engineer - Facebook

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2020-07-29Added By Anonymous
Source: Link

Company: Meta (Facebook)
Role: Data Engineer
Interview Stage: Phone Screen
Location: unknown
Year: unknown

Original Post Content:

Reached out by a Facebook recruiter on LinkedIn and did the phone screen - basic questions on SQL and Python. The phone screen went fine and I got scheduled for a coding interview with a data engineer. The pattern is: 5 mins intro, 25 mins for SQL (Postgres) and 25 mins for programming (Python/Java) of your choice, and the closing discussion is for 5 mins.

Recruiter sent a lot of materials for interview prep and was very helpful. I think the first question that I got in SQL was to find the percentage of products of some categories out of total products, very simple. I was practicing these types of questions using a MySQL platform. Interestingly, in MySQL, the typecast is taken care of automatically, whereas in Postgres, we need to explicitly cast the output both in the denominator and numerator in order to get the correct output. Things went wrong after this, and simply 25 mins flew very fast. My advice is to practice as much as possible in Postgres for the interview and don't use other SQL platforms.

Python programming was very simple: count the number of times a character appears in a string, fill None with the last encountered not None value, and reverse each word in an array, etc. Again, 25 mins flies so fast and time management is the key here. My advice is to practice with array and string type of questions from LeetCode.

All the best for those going to take the interview.

Comments