Algorithm | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Algorithm

why we need to analyze algorithm in terms of time and space???!

15th Sep 2019, 2:13 PM
Sam
2 Answers
+ 2
So we can check (and then choose) which amongst the variants is the optimal one that will be the chosen algorithm?
15th Sep 2019, 2:19 PM
Ipang
+ 1
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?
15th Sep 2019, 5:24 PM
HonFu
HonFu - avatar