0

is sorting of an array required before implementing searching algorithm

11th Jan 2021, 7:36 AM
Prince Chowdhary
Prince Chowdhary - avatar
2 odpowiedzi
+ 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'.
11th Jan 2021, 8:00 AM
Ipang