Put this algorithm into code

Printable View