Given a list of Comparable elements, return the largest element that’s a duplicate in the list.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/11447782-kotlin-whiteboard/lessons/32
Given a list of Comparable elements, return the largest element that’s a duplicate in the list.