Deviopath › Swift

Min and Max

Easy · Tuples

A tuple groups values: (min, max). Write minMax(_:) that returns the smallest and largest of two ints as [min, max] (an array, so the tests can compare it).

Next: Common Items