Finds both the minimum and the maximum element of an iterable.
type of the item
the iterable
the comparator
Finds both the minimum and the maximum element of an iterable.