Pregunta de entrevista de Google

They asked me to write a Python function that detects outliers in a dataset using the IQR method. I had to explain the logic, implement it live, and apply it to a sample column. They were interested in both my coding accuracy and how clearly I communicated my approach.