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

556 Solutions

167 Solvers

Last Solution submitted on Dec 04, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...