asymptotic notations for time and space complexity - Search