J.P. Morgan interview question

Questions on engineering related stuff like complexity of algorithms