πŸ“Š Data Structure (DS)
Q. The Worst case occur in linear search algorithm when_____________.
  • (A) item is somewhere in the middle of the array.
  • (B) item is not in the array at all.
  • (C) item is the last element in the array.
  • (D) item is the last element in the array or is not there at all.
πŸ’¬ Discuss
βœ… Correct Answer: (D) item is the last element in the array or is not there at all.

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
651
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate