UberSoftware Engineer · OnsiteCodemia practiceParse a Nested Config String Into Flattened Dotted Keys
Service configs arrive as a JSON-like string containing objects, arrays, double-quoted strings, integers, true, false and null. Without using a JSON library, parse it and return a flat dict whose keys are dotted paths such as `surge.cities.0.name`.
Medium
Coding & Algorithms