Google Interview Question

Logic Riddle Question