Recent questions tagged cormen

0 votes
1 answer
6
1 votes
1 answer
8
Implement the dictionary operations $INSERT$, $DELETE$, and $SEARCH$ using singly linked, circular lists. What are the running times of your procedures?
1 votes
2 answers
10
1 votes
1 answer
11
0 votes
1 answer
12
4 votes
2 answers
13
1 votes
2 answers
14
0 votes
1 answer
16
0 votes
2 answers
21
Show that the second smallest of $n$ elements can be found with $n+\lceil lg\ n \rceil -2$ comparisons in the worst case. (Hint: Also find the smallest element.)
1 votes
1 answer
24
1 votes
1 answer
25
0 votes
0 answers
28