Example 1
maxValueAndIndex()Input
nums = [12, 60, 80, 86, 36, 17, -13, -8, 36, 59, 46, 36, 24, 2, -48, -7, -18, 43, 15, 37, 40, 1, 33, -29, 61, 6]Output
[86, 3]Why
`maxValueAndIndex` returns `[86, 3]` for this input.Problem 156 of 1146 in the arena