Coding Challenge: Array Second Minimum
Learn how to take an array as input and find the second minimum number from the array.
We'll cover the following
Problem statement
Write a program that creates an array of the following elements, then returns the second minimum element.
7,14,5,21,19,31
Input
values = [3, 11, 7, 2, 9, 10];
Expected output
3
Coding exercise
Get hands-on with 1400+ tech skills courses.