Suggestions for writing this algorithm

Printable View