Some practice for all of us. Follow the images for answers.
Refresh your Big-O knowledge here: http://www.vingle.net/posts/509676-O-Notation
Source: http://www.sitepoint.com/time-complexity-algorithms/

csgeek

3 years ago1,000+ Views

Programming Trivia: What Complexity of this algorithm?

Some practice for all of us. Follow the images for answers.
Refresh your Big-O knowledge here: http://www.vingle.net/posts/509676-O-Notation
Source: http://www.sitepoint.com/time-complexity-algorithms/

1 Like

2 Share

10Like0