Tahmoures Zadeh Tina
2003-12-08 19:14:33 UTC
Graph:
-is Path defined to be a sequence of *distinct* vertices each adj to the
next, or just a sequence of vertices each adj to the next?
hashtables:
- for inserting( either in chain or open addressing ) do we assume that
there is no similar key in the table? or do we have to first search to see
if that key already exists or not, if yes then insert if not then donot
insert. In case we have to search eachtime before insert then specially
for chaining the complexity of insert wouldnot be o(1) anymore, would it?
-in the linear probing example in the slides, pg 14,I donot understand
why the last two probes are 4 and 3? could you plz explain them clearly.
Also, by loading do u mean search?
-for the complexities given in pg20 of the hashing slides, could you give
some
explanation?
Regards
Tina
-is Path defined to be a sequence of *distinct* vertices each adj to the
next, or just a sequence of vertices each adj to the next?
hashtables:
- for inserting( either in chain or open addressing ) do we assume that
there is no similar key in the table? or do we have to first search to see
if that key already exists or not, if yes then insert if not then donot
insert. In case we have to search eachtime before insert then specially
for chaining the complexity of insert wouldnot be o(1) anymore, would it?
-in the linear probing example in the slides, pg 14,I donot understand
why the last two probes are 4 and 3? could you plz explain them clearly.
Also, by loading do u mean search?
-for the complexities given in pg20 of the hashing slides, could you give
some
explanation?
Regards
Tina