is there any program that can compute or simulate the time complexity of java and c++?
shinoske 0 Newbie Poster
Recommended Answers
Jump to Posthttp://en.wikipedia.org/wiki/Big_O_notation
It's an estimate of the complexity based on the algorithms you use.It doesn't care about such things as your operating system, programming language, hardware. It's merely to suggest that if …
Jump to PostFor a given program, you can by inspecting it determine what the bigO result of the program is likely to be.
If your program just sorted some data, then you could easily work it out from looking up what the bigO result for your chosen sort algorithm is.
All 6 Replies
Salem 5,138 Posting Sage
shinoske 0 Newbie Poster
Salem 5,138 Posting Sage
shinoske 0 Newbie Poster
sarehu 84 Posting Whiz in Training
Salem 5,138 Posting Sage
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.