• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
roulz arora
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Saloon Keeper
Posts: 3255
54
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start here: Big O notation
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!