944,045 Members | Top Members by Rank

Ad:
You are currently viewing page 9 of this multi-page discussion thread; Jump to the first page
Nov 19th, 2009
0
Re: Time complexity of algorithm
thnx for explaining it in such a simple way...i understood it in 5 minutes..
Reputation Points: 10
Solved Threads: 0
Newbie Poster
student_learner is online now Online
8 posts
since Nov 2009
Jun 17th, 2010
-1
Re: Time complexity of algorithm
Hi Friends,

I am doing Msc-IT from KSOU.
I Have exams on 28th iam not understanding Complexity concept and Big O notation(Best, average and worst case) need help from you all.

Manju
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Manjunath AJ is offline Offline
1 posts
since Jun 2010
Jun 17th, 2010
0
Re: Time complexity of algorithm
oops.............
Last edited by AuburnMathTutor; Jun 17th, 2010 at 11:00 am.
Reputation Points: 48
Solved Threads: 11
Junior Poster
AuburnMathTutor is offline Offline
124 posts
since Jun 2010
Jul 13th, 2010
1
Re: Time complexity of algorithm
@ Rashakil Fol and @ Narue : you both clearly have super strong fundamentals !! thanks a lot for giving such a beautiful explanation of complexity that i could have never found out in any algo book !! Looking forward to more brainstorming sessions !! thnx a lot !! best wishes !!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Maneesh18187 is offline Offline
1 posts
since Jul 2010
Jul 19th, 2010
-1
Re: Time complexity of algorithm
Is O(1)run time complexity is low? and wat exactly it mean?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
banu12 is offline Offline
1 posts
since Jul 2010
Aug 2nd, 2010
0

Thetha Notation

I have big problem with Alogorithm can someone help me............

Question..Find the Thetha Notation for the following.

b). t(n) = (n + 1 )(n + 3)/(n + 2)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Lapsido is offline Offline
1 posts
since Aug 2010
Aug 3rd, 2010
0
Re: Time complexity of algorithm
Theta means a "tight" bound in the sense that you bound something above and below by a growth order.

Basically, if you can find a growth order such that t(n) is in big-Oh of the order, as well as in big-Omega of the order, then t(n) is by definition in Theta of that order.

Hint: Let n -> infinity, as though you were taking a limit. What does t(n) look like in the limit of large n?

Hint 2: If you want to go beyond that, take your answer from the first hint and prove it is correct by finding constants a, b, and m such that a*f(n) <= t(n) <= b*f(n) for all n >= m. You don't have to find tight a and b... just make them positive and you're good to go.
Reputation Points: 48
Solved Threads: 11
Junior Poster
AuburnMathTutor is offline Offline
124 posts
since Jun 2010
Aug 27th, 2010
0
Re: Time complexity of algorithm
a:=0
for i:=4 to n then
{
a=i*i;
}
return(a)


what is the freguency count of this algo ??
explain plz...,
Reputation Points: 10
Solved Threads: 0
Newbie Poster
DIPALI patel is offline Offline
2 posts
since Aug 2010
Aug 27th, 2010
-1
Re: Time complexity of algorithm
a:=0
for i:=4 to n then
{
a=i*i;
}
return(a)


what is the freguency count of this algo ??
explain plz...,
Reputation Points: 10
Solved Threads: 0
Newbie Poster
DIPALI patel is offline Offline
2 posts
since Aug 2010
Sep 12th, 2010
0
Re: Time complexity of algorithm
Can you describe an algorithm that is O(nm)?

I'm guessing it would be something like traversing a two-dimensional array. The two loops needed to do that is throwing me off however. It's making me think that it could be O(n^2).
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ecliptikz is offline Offline
2 posts
since Sep 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Computer Science Forum Timeline: equivalence relations
Next Thread in Computer Science Forum Timeline: Web Crawler/ Web Spider/ Web Scraper





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC