1. Instead of finding the index of the biggest element, find the index of the smallest element.
2. To sort strings, change each declaration of the array to an array of strings rather than an array of integers. The temp variable must also be changed to a string. Also, the comparison (data[big] <>
(data[big].compareTo(data[j])
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here