DigiNews

Tech Watch by Johan Denoyer

← Back to articles

a software engineering interview question I like: computing the median

Quality: 8/10 Relevance: 9/10

Summary

A concise look at implementing a median function in Python for software engineering interviews, covering sorting decisions, in-place vs copy, edge cases, and testability. It also discusses API design considerations and when a median is preferable to a mean.

🚀 Service construit par Johan Denoyer