Advertisements
Advertisements
प्रश्न
An average case occurs in linear search algorithm when ______.
विकल्प
When the key is in the middle of the list
When the key is at the end of the list
When the key is not present
When the key is at the end or it is not present.
MCQ
रिक्त स्थान भरें
उत्तर
An average case occurs in linear search algorithm when the key is in the middle of the list.
Explanation:
The average situation is when the key is positioned in the center since the linear search algorithm searches consecutively.
shaalaa.com
Linear Search
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?