I tried to bubble sort, array.sort and it does not verify. Any other ideas? Or, can you tell me what I am doing wrong? How can I get the minimum and maximum without sorting the array? It seems I can not modify it.