Coding Challenge: Array Second Minimum

Learn how to take an array as input and find the second minimum number from the array.

Problem statement

Write a program that creates an array of the following elements, then returns the second minimum element.



values = [3, 11, 7, 2, 9, 10];

Expected output


Coding exercise

Get hands-on with 1200+ tech skills courses.