from typing import Sequence
from typing import List


def normalize_knots(knots: Sequence[float]) -> List[float]:
    """ Normalize knot vector into range [0, 1]. """
    min_val = knots[0]
    max_val = knots[-1] - min_val
    return [(v - min_val) / max_val for v in knots]