First, count the number of maxima and minima.
Without minimum or maximum, it can be:
If one minimum or maximum, the curve can be: