Time and space complexity are terms used in computer science to analyze the efficiency of algorithms. Time Complexity measures the amount of time an algorithm takes to complete as a function of the input size. Space Complexity quantifies the amount of memory space an algorithm uses in relation to the input size.
https://www.youtube.com/playlist?list=PL23dd-8zssJClFA2BkL2LbQ0ydCQv6ZpM