Big-O Recognition Quiz

15 small code snippets. Pick the time complexity. Every answer was verified by counting real operations as n doubles.

More in CS Labs & Coding.