The Algorithms logo
The Algorithms
AboutDonate

Median Of Running Array Byte

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