2078 10

BIT201 ยท 2078 ยท 5 marks

Explain sequential search. How is it different from binary search?

Explain sequential search. How is it different from binary search? [5]

Data Structures and AlgorithmsChapter 7: Searching and HashingComparison between sequential and binary search

Sequential search (also called linear search) is the simplest searching technique in which each element of the array or list is examined one by one, from the beginning to the end, until the desired element (key) is found or the entire list has been traversed. Array: [15, 8, 23, 4, 42, 16], Search...