7 7 Question 3 (6 Marks): Given a sequence of numbers {1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 1, 1, 1, 1, 2, 2, 3, 3}. The
Posted: Thu Apr 28, 2022 6:37 am
7 7 Question 3 (6 Marks): Given a sequence of numbers {1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 1, 1, 1, 1, 2, 2, 3, 3}. The ultimate goal after receiving the sequence of numbers is to measure the sum of all numbers. Suppose reordering of the numbers within the sequence is possible, before transmission. What is the best run length encoding (RLE) representation for the transmission? If reordering is needed, show your reordered sequence. 1