Codebox Interview Question

logical reasoning basic coding problems