The Algorithms logo
The Algorithms
Acerca deDonar

Median Of Running Array Integer

d
package com.thealgorithms.misc;

public final class MedianOfRunningArrayInteger extends MedianOfRunningArray<Integer> {
    @Override
    public Integer calculateAverage(final Integer a, final Integer b) {
        return (a + b) / 2;
    }
}