Repeat Posting Rate for First-Time Reels Creators by Early Views
Last updated: November 29, 2026
Quick Overview
For users who published their first Instagram Reel, compute the share who published another Reel within 14 days, broken down by how many views the first Reel got in its first 24 hours (0 to 9, 10 to 99, 100 to 999, 1000 or more).
Meta
November 29, 20260
0
0 solved
For users who published their first Instagram Reel, compute the share who published another Reel within 14 days, broken down by how many views the first Reel got in its first 24 hours (0 to 9, 10 to 99, 100 to 999, 1000 or more).
Creator retention is a priority for Instagram, and a common hypothesis is that early distribution on the first Reel drives whether a new creator keeps posting. The onsite tests first-event identification, a time-bounded join to view events, bucketing, and a cautious read of a correlational pattern.
What the Interviewer Expects
- Identify each creator's first Reel with ROW_NUMBER
- Count views only in the 24 hours after the first post
- Define repeat posting on days strictly after the first post through day 14
- Bucket views and order buckets sensibly
- Exclude creators whose 14-day window is incomplete
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
- How would you test causally whether more early views make creators post again?
- Would you count views from the creator themselves?
- How would you extend this to 30-day and 90-day creator retention?
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
reels(reel_id, creator_id, published_ts) and reel_views(reel_id, viewer_id, view_ts). Self views should be excluded. Repeat means another Reel with published_ts between first post plus 1 second ...
Approach
Take each creator's first reel. Count distinct non-self viewers within 24 hours of publishing. Check for a later reel inside 14 days. Bucket the view counts with CASE and aggregate....