Nuacht

Take advantage of array pooling and memory pooling in C# to reduce allocations and improve the performance of your applications ...
If the array were sorted, it would be an O (1) operation to get min and max values. Min and Max values in an unsorted array is O (N).