Intel Corporation interview question

Basic pd questions, logical thinking