Software Engineer • Mid-Level
Software Engineer • Mid-Level
High QualityInterview Summary
onsite coding round focused on navigating a JSON syntax tree and retrieving values using a provided path.
Interview Details
Coding: JSON Tree Path Lookup
You are given a parsed JSON syntax tree and a path specifying which value to retrieve. The JSON structure can contain nested objects, arrays, and primitive values. The task is to traverse the JSON tree according to the provided path and return the matching value or values. The path is already represented as a vector of strings, so parsing a path expression from raw text is not required.
-
Requirements 1. Object Traversal
When the current JSON node represents an object, use the corresponding path component to access the next value. The interviewer confirmed that object key
Unlock Full Details
Create a free account to unlock this interview experience report.