The Algorithms logo
The Algorithms
关于捐赠

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);
    }
}