J.P. Morgan Interview Question

Questions on engineering related stuff like complexity of algorithms