COMP9024 (19T0) | COMP9024 (19T0) Sample Midterm Exam | Data Structures and Algorithms |
The following algorithm
for all i=n down to 1 do
for all j=n down to i do
print "A[i]A[j]"
end for
end for
Answer the following questions:
Type your answers to the above questions into the file called q4.txt and submit it using the command:
$ submit q4
The above command will make a copy of q4.txt as your answer for this question.