logo

Crowdly

Browser

Add to Chrome

Questions Bank (1394109 total)

What is the space complexity of the dynamic programming solution (done in the classroom) for the TSP with n cities?

0%
100%
0%
0%
0%
0%
View this question

Given the array [88, 56, 100, 2, 25], and the selection sort algorithm to sort this array in increasing order, what will the array look like after the first two elements are placed in their correct sorted order?

0%
100%
0%
0%
0%
0%
View this question

How does interpolation search algorithm estimate the position of the key in a sorted array?

0%
100%
0%
0%
0%
0%
View this question

Скільки дорівнюватиме теоретична

сума

горизонтальних кутів в теодоліт

ному ході, якщо у ході виміряно 6 правих за

ходом

горизонталь

них кутів, а дирекційні кути початкового і кінцевого напрямків

відповідно дорівнюють α

п

= 125˚35' 

α

к = 126˚35' ?

View this question

Дано

визначення класів і об’єктів:

class A {

  public:

          int a;

};

class B: public A {

  public:

          int b;

};

class C: public A, public B {

  public:

          int c;

};

class D: public B, public C {

  public:

          int d;

};

A oA;

B oB;

C oC;

D oD;

      Якими будуть розміри об’єктів оA, oB, oC, oD ? (дані

типу int займають 4 байти)

      Записати всі поля об’єктів оA, oB, oC, oD

View this question

Which of the following statements about Insertion Sort is correct?

0%
0%
0%
0%
100%
View this question

Поляризація світла — просторова орієнтація магнітної складової частини електромагнітної хвилі.

0%
100%
View this question
For the recurrence relation T[3k]=9T[3k-2]+k·3k, find the correct asymptotic bound in terms of k.
100%
0%
0%
0%
0%
View this question

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%
View this question

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%
View this question