Debug a Python Aggregation Loop with Dictionaries and Lists
Company: Whatnot
Role: Data Scientist
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Technical Screen
Quick Answer: Review a Python aggregation routine that uses dictionaries, lists, and loops, then explain how you would make it correct and robust. This interview exercise tests code reading, edge-case analysis, complexity reasoning, and disciplined validation.