Hierarchical Feature Flag Rules with Percentage Rollout and Dependencies

Hierarchical Feature Flag Rule System

Each rule has:

  • namespace: a hierarchical namespace such as a.b.c; the empty string "" is a valid root namespace
  • flag_name
  • enabled: boolean
  • `...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: