J.P. Morgan interview question

The questions were about algorithms, Databases, and Python.