Skip to main content

Practice ยท 1 of 4

Array statistics

CHALLENGE
Difficulty: beginner+25 XP

Implement static (int Max, int Min) Bounds(int[] values) โ€” the largest and smallest elements in one pass. Throw ArgumentException when the array is null or empty.

Back to lesson: Practice: Array workout