Q. Which of the following is not a limitation of binary search algorithm ?

  • (A) binary search algorithm is not efficient when the data elements are more than 1000.
  • (B) must use a sorted array
  • (C) requirement of sorted array is expen- sive when a lot of insertion and dele- tions are needed
  • (D) there must be a mechanism to access middle element directly
πŸ’¬ Discuss
βœ… Correct Answer: (A) binary search algorithm is not efficient when the data elements are more than 1000.

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

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