c - Using one array print frequency of elements in array? -
Write an algorithm that is given an array of numbers, prints all the specific values of A, each after its Number of events
For example, if algorithm < Code> A can modify the contents of the , but no other memory can be used. Each specific value should be printed once. The values can be printed in any order. < / P> A = & lt; 28, 1, 0, 1, 0, 3, 4, 0, 0, 3 & gt; , the algorithm is isolated from the following five lines (here is the semicolon
28 1; 2 2; 0 4; 3 2; 4 1 .
Comments
Post a Comment