Domanda di colloquio di Swimm

Algorithm code question, saving min and max out of a data structure.