+ 2

How can i check time consume by a code

Time and space consumed by a code

26th Jul 2019, 4:32 PM
Manito
1 Respuesta
+ 8
Manito you can get an hint by this lesson. By finding the time of each steps or instructions you can able to find time complexity and find the best average or worst case time consume by your algorithm or code. https://www.sololearn.com/learn/6362/?ref=app For finding time complexity some other phenomenon too used but it's mostly done for the algorithms 1) asymptomatic notation. 2)Recurrence Relations:- A recurrence is a function defined in terms of One or more base cases and Itself with smaller arguments. This recurrence relation is solved by some methods like 1) master method 2) iterative substitution 3) Recursion tree method
26th Jul 2019, 5:02 PM
GAWEN STEASY
GAWEN STEASY - avatar