logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1539428 total)

What is the worst-case time complexity of the following function assuming it is measured on value n rather than its logarithmic size?

from array_sorted_list import ArraySortedList

from sorted_list_adt import ListItem

def mystery(n: int) -> None:

my_list = ArraySortedList(n*10)

for i in range(n*10):

my_list.add(ListItem(n, i)) # assume ListItem(n, i) is O(1)

# ListItem(value, key) adds based on key

for i in range(n, n*10):

my_list.delete(ListItem(n, i))

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

Testing every part of a program both in isolation and as part of an integration of new code into the whole is called __ testing.

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

The type of an object is called its __ type.

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

OO programming is __- centric (either of two answers).

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

The acronym for the true multiprocessing situation where the data set is carved up into discrete sets, each of which is operated on by the same code is

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

In most OO circumstances,stances object properties (including memory) are generated dynamically. This is called

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

In Modula-2, class members are protected by default. To make them public that need to be listed in a ___ clause.

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

Another word for const or static or final used in the sense of readonly is__.

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

The C++ scope reentrant operator is written

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

In ISO Module-2 garbage collection is the responsibility of

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