ended3월 18일· 8 sources

To Find the max & min elements in a array

배열에서 최솟값과 최댓값 찾기

Why it matters

Demonstrates finding minimum and maximum elements in an array without built-in min/max functions. Uses a single linear scan with a for loop, comparing each element against tracked min and max values initialized to arr[0].

8
Sources
+0
24h
Growth
181d
Active
algorithmarrayarray sortingbrute forcebubble sortfind_min_maxkth smallestkth smallest elementlinear scanmaxmaximumminmin-maxminimumpythonselection algorithmsingle loopsortingtime complexity정렬

Sources

Related Issues