Citi Interview Question

The whole interview was in S.T.A.R method