Time Complexity strategy

Undisclosed
BoyN1

Undisclosed

BoyN1
Nov 4, 2018 5 Comments

For simple problems, time complexity can be usually intuitively derived. However for certain complicated cases (such as backtracking problems etc) it's not easy to get the time complexity intuitively. What's your approach in such cases ?

Do you tryout with a small sample first ? Method of induction ? Any other general approach ?

comments

Want to comment? LOG IN or SIGN UP
TOP 5 Comments