ZT Systems Interview Question

Not so hard