Question: 37
(Choose 1 answer)
What is the output dictionary after processing the substring "AB" in the LZW compression process for the
input string "ABABAABA"?
Initial Dictionary: {"A": 1, "B": 2}.
A. {"A": 1, "B": 2, "AB": 3}
B. {"A": 1, "B": 2, "AA":3}
C. ("A": 1, "B": 2, "A":3}
D. {"A": 1, "B": 2, "BA":3}