QBurst Interview Question

Basic programming, logical questions