+1 vote
There difference
asked Dec 7, 2015 in Computer Science - IT by sopan | 135 views

2 Answers

0 votes
In simple words

Time complexity means how long does it takes to find a solution to a problem or program.

Whereas Space complexity means how much memory need to perform the search for the element .

Time complexity is related with time and space complexity is related with memory .
answered Dec 7, 2015 by Shivam
can you describe with some examples ?
0 votes
Space complexity is a measure of how efficient your code is in terms of memory used.
Space complexity analysis happens almost in the same way time complexity analysis happens. 
More references at - 
answered Sep 20, 2018 by l0l0