The Algorithms logo
The Algorithms
À proposFaire un don

Median Of Running Array Byte

d
package com.thealgorithms.misc;

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