Lumen Interview Question

Debug a function that averages an array of integers