Visa Inc. interview question

How to find smallest value in array