Back to problems

Nested Map Path Query (JSON Parser)

Algorithm · Netflix · Medium

Coding · Software Engineer Problem Overview You receive an already-built nested structure, stored as a Map (or a Python dict[str, object]). Every key is a string. Each value can be either a primitive value or another nested map. Parsing JSON text is outside the scope of this task. You are also given a lookup expression resembling a restricted JSONPath or jq query. Every path begins with .. Individual components are divided by .. For instance, .contacts.mobile identifies a…

Checking your access…