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

562 Solutions

168 Solvers

Last Solution submitted on Mar 10, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...