Configuration File Merger
Given a master directory path, use helper functions to retrieve and merge multiple JSON-like configuration files, where more specific configurations can override default templates but not vice versa. Return all valid combinations of merged configuration files.
Asked at:
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Early August, 2026
Junior
I was given a system that merges multiple configuration files. Some files were default templates in a JSON-like format, while more specific configurations files could override the default values, but not the other way around. The input was only a master path, such as ./configs and I had to use existing helper functions from their system to retrieve configurations files from different paths and return an array with the valid combinations of configurations files.
Hello Interview Premium
Your account is free and you can post anonymously if you choose.