A basic doubt....how can we handle stream of input and apply algorithm like sliding window or kadane's(for size of input like 3GB) If we split the data and handle chunks should we aggregate the result using global variables? how can this be done in Java..This would really help me. Thanks in Advance for your time in answering this question.