In a language GOLFER is written as HNMEFQ. HUNGER is written as

This is alternating series. First letter is moved one step forward.

Second letter is moved one step backward, and so on.