Anonymous Interview Question

just some basic coding question