Headstrong interview question

question on comparator and comparable interfaces.