Aspire Systems Interview Question

Mazematrix algorithm