Pergunta de entrevista da empresa Headstrong

question on comparator and comparable interfaces.