Cody

Problem 1041. Find Index of maximum Value and maximum Value of a vector

Created by Richard Zapor in Community

Find the Index of the first occurrence of the maximum value in a vector and also the maximum value in the vector.

Example: [1 2 5 7 5 7 4 3] Returns 7 and 4

[1 4;2 3] Returns 4 and 2

Solution Stats

34.27% Correct | 65.73% Incorrect
Last solution submitted on May 24, 2019

Problem Comments