J.P. Morgan Interview Question

How would you implement SCD type1