There are unknown number of data sets of different sizes. Write an algorithm to read individual data set and find the maximum of each set, then calculate average max.
Can some one help me with a pseudo code for this?
No need for a code in any particular Programming Language.