User Profile
Collapse
-
I dont think thath I quite understand the concept of shell sort. And I think thats why I cant quite get my method to work. -
Need help with my Shell sort method.
hey guys. I'm new to this forum. I'm taking computer science at my high school this year, and was wondering if you could help me out with my shell sort program im writing. Here's the method that I wrote...
...Code:static void sort(int [] list, int size) { for(int gap = size / 2; gap > 0; gap /= 2) { for(int c = 0; c < gap; c++) { if(list[c] < list[c+gap]) {
No activity results to display
Show More
Leave a comment: