This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Find minimum and maximum elements using natural ordering or custom comparators without manual iteration.
You've completed the free preview. Subscribe to unlock every lesson in every course.