Amazon·Software Engineer·Technical Phone Screen
- Given a stream of log lines in a structured format, parse each line to extract key-value fields, normalize them, skip any malformed entries, and return a grouped dictionary mapping each key to a sorted list of (timestamp, value) pairs.
“I jumped straight into coding and only realized halfway through that I hadn't confirmed what 'malformed' even meant to them.”