Config Store with Priority-based Overwrite (CRUD)

Design a config store that supports CRUD on key-value configs, where each config has a priority and a higher priority overwrites a lower one.

(Note: the original post is vague; this is a completed ve...

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: