O o o O: The Objective of This Assignment Is To
O o o O: The Objective of This Assignment Is To
01 Total Marks: 20
Semester: Spring 2016
Instructions
It should be clear that your assignment will not get any credit (zero marks) if:
Objective
Submission
You are required to submit your solution through LMS as MS Word document.
GOOD LUCK
Question 1:
Analyze the running time complexity of the following piece of code. Show your working step by step.
sum_even=0;
sum_odd=0;
else
cout<<sum_even;
cout<<sum_odd;
Question 2:
Solve the following recurrence relation using iterative method and give answer at the end in
asymptotic form (show all possible steps).