Bucket sort & list of lists ???
Hello I am having extreme trouble understanding how I can use a list of lists to implement a bucket sort.
As is I have already declared a structure which contains a float value and a pointer value.
I have the user determine how many float values they wish to use and then I call a bucket sort function which according to our assignment is then to call an insert function.
I have been able to figure out which of the lists of the main list I want to use, but I am clueless as to assign values here? How am I use pointers to create a list within a list?
I have been searching around and have been unable to cough up any code/ examples of how this works. I would appreciate any help, advance or clarification you provide.
Sincerely,
EasternStar