Handshake interview question

Word reverse