मराठी

If the key to be searched is the last element in the list, then linear search algorithm will make how many comparisons? -

Advertisements
Advertisements

प्रश्न

If the key to be searched is the last element in the list, then linear search algorithm will make how many comparisons?

पर्याय

  • n(n + 1)/2

  • n - 1

  • n

  • n + 1

MCQ

उत्तर

n

shaalaa.com
Linear Search
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×