Computer Science, asked by himanshuyadav49, 1 year ago

Difference between sequential and Binary search .​

Answers

Answered by Anonymous
0

Difference between sequential and Binary searche .​

Linear search does the sequential access whereas Binary search access data randomly. Input data needs to be sorted in Binary Search and not in Linear Search. ... The best case time in linear search is for the first element that is O(1). And the other side O(1) is the middle element in binary search.

Answered by aayan0143
0

Searching is a process of finding an element within the list of elements stored in any order or randomly. The major difference between linear search and binary search is that binary search takes less time to search an element from the sorted list of elements

Similar questions