Pergunta de entrevista da empresa IBM

IQ questions were asked. Logical thinking