optimise algorithm

Printable View