J.P. Morgan Interview Question

POM,Framework used,Java