This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java in General and the fly likes what are O(n^2), O(n) and O(log n) complexities ? help explain by example. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "what are O(n^2), O(n) and O(log n) complexities ? help explain by example." Watch "what are O(n^2), O(n) and O(log n) complexities ? help explain by example." New topic
Author

what are O(n^2), O(n) and O(log n) complexities ? help explain by example.

roulz arora
Greenhorn

Joined: Dec 04, 2011
Posts: 3
Hi All,

I never understand O(n^2), O(n) and O(log n) complexities. can some one make me understand by examples.

Your response is valuable.

Thanks,
Roulz
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Start here: Big O notation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what are O(n^2), O(n) and O(log n) complexities ? help explain by example.