If in a certain language GAMBLE is coded as FBLCKF, how is FLOWER code

If in a certain language GAMBLE is coded as FBLCKF, how is FLOWER coded in that language ?

GMPVDS
GKPVFQ
EMNXDS
EMNTDS
This question was previously asked in
UPSC CAPF – 2019
The given coding is GAMBLE -> FBLCKF. Let’s analyze the letter transformations:
G (7) -> F (6): -1
A (1) -> B (2): +1
M (13) -> L (12): -1
B (2) -> C (3): +1
L (12) -> K (11): -1
E (5) -> F (6): +1
The pattern is an alternating subtraction and addition of 1 to the alphabetical position of each letter: -1, +1, -1, +1, -1, +1.
Now apply this pattern to the word FLOWER:
F (6) -> F-1 = E (5)
L (12) -> L+1 = M (13)
O (15) -> O-1 = N (14)
W (23) -> W+1 = X (24)
E (5) -> E-1 = D (4)
R (18) -> R+1 = S (19)
The coded word for FLOWER is EMNXDS.
Coding-Decoding problems often involve identifying patterns based on the position of letters in the alphabet, skipping letters, or reversing the sequence. Analyzing the transformation for each letter from the original word to the coded word is the first step.
Understanding the alphabetical order and assigning numerical values (A=1, B=2, …) can facilitate identifying patterns based on addition or subtraction. Sometimes the pattern can be more complex, involving skipping letters, using reverse alphabetical order, or rearranging letters.