American Express Interview Question

Some questions that could easily be solved with linear algebra.