Zillow interview question

1] Write a function to find minimum value in the array