from typing import Sequence
from typing import List


def _normalize(values: Sequence[float]) -> List[float]:
    """Normalize the values between 0 and 1"""
    vmin, vmax = min(values), max(values)
    return [(v - vmin + 1) / (vmax - vmin + 1) for v in values]