How To Analyze Time Complexity