2 ms·
It is not about choosing "sort" it is about knowing if you need your data sorted in the first place. Sure, in some situations it might be obvious, but maybe
by stale2002 10y ago
It is not about choosing "sort" it is about knowing if you need your data sorted in the first place.
Sure, in some situations it might be obvious, but maybe not obvious for others.
And things that are immediately, blindingly obvious to a 5 year experience programmer may not be obvious to a newbie.
Ex: imagine if you didn't know what a hashtable or a dictionary was and just used single variables for everything.