Amazon·Software Engineer·Technical Phone Screen
- Implement a get(object, path) function that traverses a nested structure of maps and arrays using a path string like 'ab[1].c.d[2][13]', returning the value at that path or a sentinel if any segment is missing.
“The tricky part isn't the happy path, it's all the stuff you have to ask before writing a single line.”