Barclays Interview Question

Tell me an algorithm you built and why is it useful?