Maximum Vector

The score is calculated based on the following 4 criteria:

Accuracy – based on the number of functional tests that pass;

Efficiency – based on accuracy combined with the number of attempts to compile and run the code;

Speed – based on the time needed to solve the exercise;

Know-how – based on the cyclomatic complexity of the code.

Description

Given 2 arrays of integer numbers, with m and n elements each, check if the maximum element from the first array is found in the second one.

20
minutes
Easy
Level
439
Test results
88 / 100
Average