Untitled Flashcard Set

Algorithm Complexity and Big O Notation

Time complexity quantifies the amount of time taken by an algorithm to run as a function of the length of the string representing the input. Space complexity measures the amount of memory space required by an algorithm during execution.