Move-to-front algorithm: Difference between revisions

m
added clarifying word.
m (→‎version 2: added/changed whitespace. increased output indentation.)
m (added clarifying word.)
Line 26:
 
;Example:
Encoding the string of character symbols 'broood' using a symbol table of the lowercase characters   '''a'''-to-'''z'''
 
:::::{| class="wikitable" border="1"
Line 94:
 
;Task:
:*   Encode and decode the following three strings of characters using the symbol table of the lowercase characters   '''a'''-to-'''z'''   as above.
:*   Show the strings and their encoding here.
:*   Add a check to ensure that the decoded string is the same as the original.