What is the time complexity of an algorithm that uses a binary search to find an element in a sorted array in logn time?

1 answer

Answer

1215433

2026-05-13 16:36

+ Follow

The time complexity of an algorithm that uses binary search to find an element in a sorted array in logn time is O(log n).

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.