logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1394421 total)

In the Floyd-Warshall all shortest path algorithm, what is the purpose of introducing an intermediate vertex k during iteration?

0%
0%
0%
0%
0%
0%
Переглянути це питання

Which of the following scenarios would cause the greedy approach (rational knapsack algorithm, choosing items by highest value-to-weight ratio) to fail in solving the 0/1 (or binary) knapsack optimally?

0%
0%
0%
0%
0%
100%
Переглянути це питання

Based on the discussion from our lectures, what is the running time of the preprocessing step of the string matching algorithm with finite automata (i.e., of the step where we compute the transition function)? Recall that n, and m are the sizes of the text and pattern, respectively, and Σ is the alphabet. (Choose the tightest bound.)

0%
0%
0%
0%
100%
Переглянути це питання
Переглянути це питання

Consider inserting the keys 21, 22, 31, 4,15, 28, 17, 88, 59 (in this order) into a hash table of length m=11 using linear probing with the auxiliary hash function h'(k)=k. Based on our lecture discussion, which of the choices below represents the resulting hash table?

0%
0%
0%
0%
0%
Переглянути це питання

Чиїм найвизначнішим твором є міфологічна поема "Адоніс"?

Переглянути це питання

Хто з письменників епохи бароко оспівував у своїх драматичних творах філософію песимізму?

Переглянути це питання

Хто з письменників епохи бароко вважав, що життя - це сон?

Переглянути це питання

Хто з письменників епохи бароко відомий як поет?

Переглянути це питання

Хто є автором комедії «Сивільський спокусник, або Кам'яний гість»?

Переглянути це питання