Junior — Senior
Recursive expansion of nested Map into a homogeneous dictionary
livecode
Task condition
Create a function that takes a nested structure of type Map<String, Object> and returns a flat Map, where:
- Inner Maps are recursively expanded;
- Keys are formed by concatenating parent and child keys with a specified separator;
- Values that are not Maps are copied unchanged.