Amazon interview question

what chart would you use here