



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Class: Algorithm & Data Structures; Subject: Computer Science; University: University of North Carolina - Charlotte; Term: Fall 2007;
Typology: Exams
1 / 7
This page cannot be seen from the preview
Don't miss anything!




r II i I. i 1 ITCS 6114/ Midterm Exam Fall 2007
state that both grow equally fast. Justify your answers. (5 pts. Each) a. 10g2 n, 10&3 n
C·. 5 I~g2, " 5 log 3 n d. log" n, nlog n I b. L. j. <
\L20) .- .t 'm
'2-
'---^ -^ 'yy.^ .{-^ )
~
) Cf:
_I_ ! 5. Give the contents of the hash table that results when keys E A S Y QUE S T ION are inserted in that order into an initially empty table of size 17 using linear probing. ### (Use h(kth letter) = k mod 17) (15 pts.) _'Y_ C9- U _t:_ S- _DO Lf-S-_ _I_ 1- _(j_ JY 3 ~ ,5' _lLf-_ ~J_@A\S~\E\T(Y~ ~ , 1- J 4- J _b_ 7 _g_ 7 _{D I_ ( 11. 13 f i(- IJ- If