Mayo Clinic interview question

Leetcode easy style problems. Explicitly states they were only checking for correctness and not performance. One problem was already implemented and you had to find bug(s) in it.