Epic Interview Question

Tell me about an algorithm that you used on your project. What made you choose that algorithm? How did you implement it?