Example 1
minAndMax()Input
nums = [-64, -137, 64, 253, -38, -69, -181, -193, 224, 33, -41, -2, -150, -139, -26, 245, -34, 95, 108, -9, -60, -193, 240, 293, 291, 177, 300, 292, 150, -73, 139, 181, -18, 157, 209, 221, -152, 45, 212, 284, -104, 115, 88, -30, 139, -182]Output
[-193, 300]Why
`minAndMax` returns `[-193, 300]` for this input.