In this chapter, we have examined two breeds of search algorithms. The implementation of both linear and binary search algorithms have been discussed and their comparisons drawn. The binary search variant, interpolation search has also been treated in this section. Knowing which kind of search operation to use will be relevant in subsequent chapters.
In our next chapter, we shall use the knowledge that we have gained to enable us perform sorting operations on a list of items.
Â