Help with speeding up my algorithm

Printable View