Barclays interview question

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