In Scala mutable collections, min() method is utilized to find the smallest element of all the elements in the stated list.
Method Definition: def min: A
Return Type: It returns the smallest of all the elements in the stated list.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.