Ist dies Ihr Unternehmen?
Find the smallest value in an integer array without sorting it. Assume that there is no Array.min() method. Sample input: {0, 1, 2, -50, 100, 0}
Anonym
A = input I = A[0] for x in A[1:]: If x < I: I = x print I
Verschaffe dir einen Vorsprung bei Chancen und Insider-Tipps, indem du deinem Traumunternehmen folgst.
Erhalte personalisierte Jobempfehlungen und Updates, indem du Suchanfragen startest.