PhoMedics interview question

Algorithm design and working style.