How would one attempt to create an algorithm for this?

Printable View