Top Exit Screens for Users Who Abandoned Instagram Signup

Last updated: November 29, 2026

Quick Overview

For users who started Instagram account creation in the last 30 days but never completed it, find the last screen each user viewed and rank screens by how many abandoners ended there.

Meta
Data Manipulation (SQL/Python)
Data Scientist
Meta
November 29, 2026
Data Scientist
Technical Screen
Data Manipulation (SQL/Python)
Medium

0

0

0 solved


For users who started Instagram account creation in the last 30 days but never completed it, find the last screen each user viewed and rank screens by how many abandoners ended there.

A growth analytics question in Meta's data science technical screens, aimed at finding where new users fall out of onboarding. The interviewer checks that you identify abandoners correctly, pick the last event with a window function, and handle ties and noise events.

What the Interviewer Expects
  • Identifies abandoners as starters with no completion event
  • Picks the last screen per user with ROW_NUMBER
  • Excludes non-screen events such as background or heartbeat
  • Breaks timestamp ties deterministically
  • Returns counts and share of abandoners per exit screen
Key Topics to Cover
ROW_NUMBER
last event
anti join
drop-off analysis
onboarding funnel
How to Approach This
  1. Clarify the schema and expected output format before writing queries.
  2. Use CTEs (WITH clauses) to break complex queries into readable steps.
  3. Consider window functions (ROW_NUMBER, RANK, LAG, LEAD) for ranking and sequential analysis.
  4. Watch for NULLs, duplicates, and edge cases in JOINs and GROUP BY.
  5. For pandas, prefer vectorized operations over row-by-row iteration.
Possible Follow-up Questions
  • How would you compare exit screens between Android and iOS?
  • How would you tell a real exit from a user who switched to the web flow?
  • How would you turn this into a per-screen drop-off rate rather than a share of exits?
  • What if a completion event is sometimes lost by the logger?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice SQL Problems
Sample Answer
Clarify the Data

signup_events(device_id, event_name, screen_name, seq, event_ts). Before an account exists, users are keyed by device. event_name includes screen_view, app_background, and signup_complete. I...

Approach

Find devices that started in the window, remove those with a completion (anti join via NOT EXISTS), then take each remaining device's last screen_view with `ROW_NUMBER() ... ORDER BY event_ts DESC...


Submit Your Answer
Markdown supported