Intel Corporation Interview Question

few puzzles related to aptitude.