AFS Technologies Interview Question

How I solved a difficult problem in the past.