Skip to main content
hard

Feature Flag Timeline Store

Feature Flag Timeline Store Track feature flag changes over time with time-travel queries. - set(ts, key, value): Set flag value at timestamp - get(ts, key): Get current value at timestamp (or "null" if not set) - getAt(ts, key): Get value at or before timestamp - delete(ts, key): Delete flag at timestamp (tombstone) - serialize()/deserialize(): Persist and restore history

Feature flags seem simple until you need to query what was enabled last Tuesday. This problem tests whether you can maintain a timeline with out-of-order updates and soft deletes—then serialize it for persistence. The trap is handling tombstones correctly in time-travel queries.

Meet Coco

Coco is an AI study partner, not a person. She listens while you explain your code, asks what a line does and never hands you the fix. Sign in free to type with Coco, up to a daily limit, and to talk with her for one hour. After that, talking comes with the $79 pack. Anyone can open the editor and run their code.

1Basic Feature Flagsmedium
2Part 2
3Part 3
4Part 4

Each locked part opens in the editor once the part before it passes.

Get a note when something new lands

New company guides, new problems and big changes to Coco. Rare, and you can leave any time. By joining you agree to get these emails.