Emerson Interview Question

They ask basic question puzzles