The MongoDB Senior Software Engineer technical screen contained one coding problem centered on traversing a nested JSON object. The input could contain values of different types, including strings, lists, and additional nested objects, and the task was to locate a requested key regardless of how deeply it appeared and return its associated value.
Interview Details
Coding — Search for a Key in Nested JSON: The interviewer provided a nested JSON document and a query containing a key name. The requested key could appear several levels below the top-level object, so the implementation needed to search through nested structures rather than only checking direct children. For example, consider the following rewritten input:
{"store_id":742,
{"store_id":742,
Unlock Full Details
Create a free account to unlock this interview experience report.