Computer Algorithm
Computer Algorithm
Odo
Hanoi, 65,3);
end
{hint time complexity em) 1 ifm 1)
2. (1) Show that itis possible to multiply two men matices i atime O(a). (15%) ao
@ What do you do about matrices whose size isnot «power of 2? (10%)aa) 8 Te wie # fate
a cam am us
HREM ARAE SRE | Om RERSMRAK kone
sean: ob aig et ! TEA, Ane
1. The procedure MinMax below finds the minimam and maximum in an array X(1.2)
cfm numbers with at most n-2 comparisons of real numbers
minsx(}; mace
for i= 2 t0nd0
XG]