Embed presentation





































This document discusses algorithms analysis and complexity including: 1) Common sorting algorithms have quadratic time complexity O(N^2) while searching algorithms can have exponential complexity like O(2^N). 2) It provides an example of determining the complexity of two functions, showing one is O(N) while the other is O(N^N). 3) Vectors in Lisp can be used to initialize a data structure of a given length by applying a function to each index, and operations on vectors have constant time complexity.



































