Які два види поліморфізму реалізовано в C++?
Under what condition does a directed acyclic graph (DAG) have a unique topological ordering?
Consider two recursive algorithms A and B to solve a problem. The recurrences corresponding to their running times are
A. T(m) = 2T(m/2)+m2
B. T(m) = 8T(m/4)+10m2
Which of these algorithms is faster (i.e., more efficient)?
What is the time complexity of the Floyd-Warshall all shortest path algorithm for a graph with V vertices? Select the tightest bound.
Якою буде відносна нев’язка =0,12 м, а периметр ходу Р=345,12 м?
Consider the following statement:
"In order to solve the recurrence T[n]=7·T[n/8]+n by the Master method, you will need to check the regularity condition."
Select every correct answer below (More than one choice could be selected. You may lose points for wrong selections).
How many of the following statements about Counting Sort are true?
Вкажіть розмір ставки єдиного внеску на загальнообов’язкове державне соціальне страхування для підприємств, установ і організацій, у яких працюють люди з інвалідністю, а також розрахунок максимальної та мінімальної величини бази нарахування єдиного внеску
Яку розмірність має абсолютна похибка?
Дано визначення класів:
class C1 {
};
class C2 {
C1 *f1; //
};
Яка
саме команда повинна бути в тілі конструктора класу С2 для
того щоб правильно створювати об’єкти цього класу? (Написати фрагмент повного
опису конструктора) Відповідь пояснити.