Equifax interview question

A problem I had and how I solved it.