The New York Times·Data Analyst·Technical Phone Screen
May 2026
SQL-heavy technical screen for a Data Analyst role at the New York Times, focused entirely on a page views fact table in BigQuery. Four queries back to back, each with its own wrinkle around NULLs, window functions, or aggregation grain. Felt more like a take-home that someone decided to do live.
- Given a page_views table in BigQuery, write a query that returns mobile vs desktop unique contents viewed alongside total view events for each device group.
- For each device group, find the top 3 hours of the day by view volume using window functions.
- Write a single query that returns both the count of unique non-NULL content IDs and the count of view events where content_id is NULL.
- For each agent and calendar day, identify the agent's first view event of the day (breaking ties by event_id), then compute the distribution of content types across all agent-days.
“The NULL handling is what trips people up here.” The rest of the author's notes on Data Analyst interview at The New York Times, Technical Phone Screen round, covers how they worked through the question, what the panel pushed back on, and what they would do differently.
View Post