The Algorithms logo
The Algorithms
Über unsSpenden

Median Of Running Array Byte

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