Relation between the time and space complexities of an algorithm
The examining of algorithm focuses on time complexity and space complexity. As compared to time analysis, the analysis of space requirement for an algorithm is usually easier, but wherever essential, both the techniques are used. The space is referred to as storage needed in addition to the space needed storing the input data.