What is the read/write complexity of the following program?
int N = 0, M = 10;
for (int x = 0; x <= M; x++ ) {
for (int y = 0; y <= N; y++ ) {
writeToDisk(""something"");
}
}
a. O(M*N)
b. O(N)
c. O(N^2)
d. O(M+N)
a. O(M*N)
You might also like to view...
Click the File tab and click Print to view the ________ settings and options for printing
Fill in the blank(s) with correct word
The file format known as Portable Document Format was developed by Microsoft
Indicate whether the statement is true or false
To move a field list in the Relationships window, drag the table's primary key field. _________________________
Answer the following statement true (T) or false (F)
The angle and length of direction lines define what?
A. a closed path B. the arc of a curved segment C. a smooth point D. a "broken" point