Amazon Interview Question

Which of two algorithms would you pick based on this short test-phase data?