"Design a feature flag SDK for Android, like LaunchDarkly or Firebase Remote Config."
Analyzing the Problem
LaunchDarkly and Firebase Remote Config are feature flag SDKs: a remote on/off switch for already-shipped code, decoupling deploy from release so a feature can be turned on without a new build. The SDK evaluates typed flags (getBoolean, getString, getInt, getJson) from any thread, applies targeting rules against developer-supplied user attributes, computes sticky percentage rollouts deterministically, picks up changes within seconds of the console flipping them, honors a global kill switch, buffers exposure events for A/B analysis, and persists the last-known-good flag set across kill, reboot, and reinstall. Only the client SDK is in frame; the targeting console that decides those values is not.
The full breakdown is locked.
Premium unlocks every system design, every coding question, and every challenge - with unlimited code runs in the live editor.
Browse free problems