I applied through a recruiter. I interviewed at Meta in Dec 2024
Interview
I was contacted by the recruiter, and the initial interview was based on basic questions about experience and then for SQL- UNION vs UNION ALL, Window functions, HAVING & GROUP BY; for Python- basic questions on Lists, Maps, Linked List, Sets, etc. (like what are they about and can they have duplicate values). Moving on to the phone screening round. It was 60 mins round with 5 SQL & 5 Python. I was able to solve 3 of each, but I went 5-7 minutes of overtime. The questions are time-consuming, so practice is the major key here. The recruiter was helpful. Also, try to explain your code as you go,
Interview questions [6]
Question 1
SQL - Q1. Find the IDs of the top 5 customers, ordered by average payment per book made by the people they invited.
Q2. Find the total number of authors registered with the bookstore. What percentage of them have a website URL that contains ".com", and what percentage never made a sale?
Python- Q1. Write a function that returns the smallest non-negative number which can be generated by using all the digits with odd values of a given number.
Q2. The bookstore gathered a list of customer comments from each shop location and wants to find the most common comment across all locations (ignoring duplicates from the same location). If multiple comments appear the same number of times, return any one of them.
Q3. Given a list of workshops, return the largest number of classes that were hosted in total across any 2 consecutive years that had at least one workshop each.
It was smooth and interviewers were kind. All the rounds went well but i was not selected. Please prepare well for the initial technical screening round as we do not find enough time to solve all the problems
The first interview stage is 60 min technical test, with SQL and Python questions, each part is given 25 minutes, done by sharing screen and explaining your approach as you code
Interview questions [1]
Question 1
Write a python function which gets a dict of location, list of cities, and returns the name of the city that appears the most times