Amazon Interview Question

Asked about some challenges overcome. Also asked about a simple algorithm and the O time for it.