edited by
902 views
0 votes
0 votes

From the given data below:

$a \: b\:b\:a\:a\:b\:b\:a\:a\:b$

which one of the following is not a word in the dictionary created by LZ-coding (the initial words are a,b)?

  1. $a\:b$
  2. $b\:b$
  3. $b\:a$
  4. $b\:a\:a\:b$
edited by

1 Answer

1 votes
1 votes
input is : a b b a a b b a a b

so the dictionary contains: a | b | ba | ab| baa | b (is already there)

so option B and D both r not there in dicto
Answer:

Related questions

0 votes
0 votes
2 answers
2
0 votes
0 votes
3 answers
3
go_editor asked Mar 24, 2020
657 views
Match the following :$\begin{array}{clcl} & \textbf{List-I} & {} & \textbf{List-II} \\\text{a.} & \text{Glass } & \text{i.} & \text{Contains liquid crystal and serves a...
0 votes
0 votes
2 answers
4
go_editor asked Mar 24, 2020
1,206 views
In Artificial Intelligence(AI), what is present in the planning graph?Sequence of levels LiteralsVariablesHeuristic estimates