Difference between revisions of "CSC212 Final Exam 2014"

From dftwiki3
Jump to: navigation, search
Line 39: Line 39:
 
* What is the time complexity of this group of nested loops?
 
* What is the time complexity of this group of nested loops?
 
<br />
 
<br />
<source lang="java">
+
:::<source lang="java">
 
for ( int i=0; i<N; i++ )
 
for ( int i=0; i<N; i++ )
 
     for ( int j=i; j<N; j++ )
 
     for ( int j=i; j<N; j++ )

Revision as of 19:07, 10 December 2014

--D. Thiebaut (talk) 15:16, 9 December 2014 (EST)



...






...