Amazon Interview Question

Most complex problem you solved?