FNZ Interview Question

Basic problem-solving and code interpretation.