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). The only search algorithm which makes sense in thise case is a ...
I'm working on a small project here, and need to change all spaces in a char array to underscores. Meaning that "One Two Three" is changed to "One_Two_Three".<BR><BR ...