J.P. Morgan interview question

They asked about common DSA questions