Design Duolingo – Frontend System Design

We’ll walk through the frontend system design for a language-learning session like Duolingo: a machine that grades in a few milliseconds, audio that never stalls the next tap, a streak that respects the learner’s midnight, and packs that still work in airplane mode. Celebration is an overlay, not a state. Hearts and streak are server-repaired counters.
This is not a quiz widget. The interviewer will say “fifteen cards, offline, five hearts, Arabic prompts in an English shell, and a learner who taps faster than your animation.” Treating Check as await celebrate() falls apart.
Problem Statement
... premium content.
