3 ms·
Perhaps not sort so much, but certainly with search I've seen people roll their own inefficient search functions many times.
by dagw 4y ago
Perhaps not sort so much, but certainly with search I've seen people roll their own inefficient search functions many times.
- joaonmatos 4y agoIt is the exact same situation, though. Most people can just chain a sort and a binary search to do it, and both are included in most languages. Or just put it into a tree map, if your language has it.