Amazon Interview Question

behavior based