Amazon·Software Engineer·Technical Phone Screen
- Design and implement a schema validation system for JSON-like data. Given a data value and a schema definition you design yourself, return whether the data conforms to the schema. Must handle primitives, nested objects, and arrays recursively, with up to 100k total nodes.
“The part that tripped me up first was that they let me design the schema format, which felt like a gift but actually added pressure.”