Sears interview question

Technical question