Question: what is the bigoh order of the following code fragment...
What is the Big-Oh order of the following code fragment? The
fragment is parametrized on the variable
n. Assume that you are measuring the number of println calls.
for ( int i = 1 ; i <= n ; i++)
for ( int j = 1 ; j <= n ; j *= 10)
System . out . p r i n t l n ( "Nested loops ! " ) ;