Subsplash interview question

How to do something with an Algorithm.