Hi friend,
binary search search a value by a mid-value.where as in seq search ,it search values one by one.
Example:seq search
1,6,8,4;suppose that I have to search a value 8,
then it start searching from 1,then next and stop where it get value.
Example:binary:
1,6,9,4,5,7; suppose my search value is 4.it will star searching as
mid=(total … Read more