0
is sorting of an array required before implementing searching algorithm
2 Réponses
+ 5
Not required, but recommended, especially for binary search. Binary search operation works faster with a sorted container.
As a future reference, please do not write your question in the tags. Use the tags to specify a relevant language, or specific subject e.g. 'search-algorithm'.