q1. find the character in a string with maximum no of consecutive repetitions.
q2. there are three streams(unlimited in size). each returns an integer which is greater than the last integer from its own stream and each stream is independent of the other stream
print the values in an increasing order from the all the streams combined.
eg
stream.read() // returns ant int. The next time read() is called, it will return an integer >= to the previous value
s1 1, 3, 8, 10 ...
s2 1, 4, 5, 6, 12 ...
s3 3, 7, 8, 9 ...
1, 1, 3, 3, 4, 5, 6, 7