This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use min() to find the smallest element in a stream by providing a Comparator for comparison logic.
You've completed the free preview. Subscribe to unlock every lesson in every course.