Indigo Consulting interview question

What is the hardest algorithm you wrote