aureooms/js-maximum-matching

View on GitHub
src/core/blossom/min.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
export const min = (a, i, j) => {
    let o = a[i];
    for (++i; i < j; ++i) if (a[i] < o) o = a[i];
    return o;
};