0

How to search an array element

Array search

26th Apr 2020, 9:14 PM
mohd ajmal
4 Answers
+ 2
If it's a sorted array, you can also do a binary search which performs better than a linear search on larger arrays. https://code.sololearn.com/cFhqsywzTrYc/#c
26th Apr 2020, 9:42 PM
Damyian G
Damyian G - avatar
0
Thank u guys
26th Apr 2020, 9:46 PM
mohd ajmal