3 ms·
Because instead of one special function (swap) it needs two (swap and compare), and the two refer to the same data. So, put that data in a struct and give it me
by skj 8y ago
Because instead of one special function (swap) it needs two (swap and compare), and the two refer to the same data. So, put that data in a struct and give it methods.