Example 1
maxValueAndIndex()Input
nums = [46, 45, 23, -26, 88, -7, 57, -39, 16, -9, -8, -8, -23, 89, 2, 67, -15, 67, -2, -30, 40, 37, -36, 82, 7, 77, 3, 48, -18, 62, -18, 72, -16, 51, 66, -9, 37, 28, 60, 21]Output
[89, 13]Why
`maxValueAndIndex` returns `[89, 13]` for this input.