N-Day Retention Curve

medium
Unit 19 · Survey Statistics0/2 to milestone

Day-N retention: of users who signed up on day 0, what fraction were active exactly N days later? It's the most important health metric for consumer apps.

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
N-Day Retention Curve · TechGradify