I am a computer science student and i have to do a miniproject using only c.my project title is "to estimate time complexity of a given algorithm/program code.please tell me how can i initiate that i tried counter,line count it couldn't help,i have to submit my project at the first week of december.I seriously needed your help.thank you all in advance!
Pooja_2
0
Newbie Poster
Recommended Answers
Jump to Postyou can solve it easly run code with different input n=10 n=20 n=30 n= 50 n=60
and calculate the time requirded to output the result.
if not n1=n2=n3=n4 runtime is 1
and so on
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.