The Algorithms logo
算法
关于我们捐赠

运行数组的中位数

A
package com.thealgorithms.misc;

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