J.P. Morgan Interview Question

db design for an application