Example 1
minAndMax()Input
nums = [-48, 218, -191, -171, -189, -168, -120, -139, 102, 134, -13, 157, 91, 212, -61, 10, 201, 206, -30, 215, -6, -114, 221, -181, -26, 25, 91, 95, 71, 211]Output
[-191, 221]Why
`minAndMax` returns `[-191, 221]` for this input.