I'm trying to get my head round the bucketsorting algorithm, but failed to do so.
Looked at numerous examples... but can't get it working...
Let's say I have this:
public class Employee {
int id; /// example: 52015
String firstname,lastname;
String department;
}
I have a huge list of employees, I then strip the list of all employees to sublists for each department. And the goal is to bucketsort these lists, on employee id. So I have my arraylists of employees, ready to pass on. I just can't seem to understand it.
THANK YOU!