2 ms·
Sorting and binary searching is more code. Do you need the benefit enough to add the code? Do you need to implement sorting/binary searching or find libraries,
by jodrellblank 14y ago
Sorting and binary searching is more code. Do you need the benefit enough to add the code?
Do you need to implement sorting/binary searching or find libraries, or do you have libraries handy?
I guess the "correct" answer is "lots of things could affect the choice, tell me more about the context".