First question add a more efficient solution