why we need to analyze algorithm in terms of time and space???!
So we can check (and then choose) which amongst the variants is the optimal one that will be the chosen algorithm?
Imagine there are two text editors, you have to decide which one to buy. Editor one takes 3 seconds to open any new window. Editor two takes not even one second. Otherwise there's no difference. Which one will you buy?