Challenge: Find Minimum Value in Array

Try to solve the Find Minimum Value in Array problem.

We'll cover the following

Statement

Given an array of integers, arr, find the minimum value from the array.

Constraints:

  • 11 \leq arr.length 103\leq 10^3
  • 105-10^5 \leq arr[i] 105\leq 10^5

Examples

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.