Murex interview question

algorithms