best worst and average case time complexity - Search