Tabcorp interview question

How would you evaluate the algorithm?