Find the Funnel Step That Regressed in the Latest Facebook App Release
Last updated: November 29, 2026
Quick Overview
Compare step-to-step conversion of the Facebook photo upload funnel between the newest app version and the previous version, and flag any step whose conversion dropped by more than two percentage points.
Meta
November 29, 20260
0
0 solved
Compare step-to-step conversion of the Facebook photo upload funnel between the newest app version and the previous version, and flag any step whose conversion dropped by more than two percentage points.
A diagnostic SQL question in the style of Meta's onsite data science rounds, tied to the weekly mobile release cadence. The interviewer checks that you compare like with like (same window, same platform), compute rates per step rather than only overall, and pick the two versions programmatically.
What the Interviewer Expects
- Identifies the latest and previous versions from the data, not by hardcoding
- Computes per-step conversion for each version
- Pivots or self-joins to show the two versions side by side
- Flags drops above a threshold and shows volumes
- Mentions mix effects such as early adopters on new versions
Key Topics to Cover
How to Approach This
- Clarify the schema and expected output format before writing queries.
- Use CTEs (WITH clauses) to break complex queries into readable steps.
- Consider window functions (ROW_NUMBER, RANK, LAG, LEAD) for ranking and sequential analysis.
- Watch for NULLs, duplicates, and edge cases in JOINs and GROUP BY.
- For pandas, prefer vectorized operations over row-by-row iteration.
Possible Follow-up Questions
- Why might early adopters of a new version convert differently regardless of code changes?
- How would you add a significance check to the flag?
- How would you separate Android and iOS releases?
- What would you look at next if only the 'select photo' step regressed?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice SQL ProblemsSample Answer
Clarify the Data
upload_events(user_id, app_version, platform, step, event_date) where step is one of open_composer (1), select_photo (2), edit (3), post (4), stored in step_order. Versions are strings l...
Approach
Rank versions by first-seen date and keep the top two. Count distinct users per version and step. Use LAG over step order within each version to get the previous step's users, then compute step conv...