Correct option is A
Given String:
G X S N F L T N G Z F B J M J Z B F Q C X S P M J
Solution:
Let's go through each letter and check if it is immediately followed by either
B or
F.
1.
N F — The letter
N is followed by
F (count = 1).
2.
Z F — The letter
Z is followed by
F (count = 2).
3.
F B — The letter
F is followed by
B (count = 3).
4.
Z B — The letter
Z is followed by
B (count = 4).
5.
B F — The letter
B is followed by
F (count = 5).
Final Count:
There are
5 instances where a letter is immediately followed by either
B or
F.
Answer:
The correct answer is:
5