Domanda di colloquio di EXL Service

Two puzzles, not so difficult was asked during interview.