logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1229803 total)

What method was used to create this sculpture?

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

What material was used to create this sculpture? 

Переглянути це питання
What is the return value from this block of pseudocode?

  s ← new Stack()

  q ← new Queue()

  push (-101,s)

   isempty(q)

  enqueue (40,q)

  enqueue (73,q)

  peek(s)

  dequeue (q)

  pop (s)

  enqueue (83,q)

  push (83,s)

   isempty(q)

   isempty(s)

  dequeue (q)

  return peek(q)

Переглянути це питання
What is the return value from this block of pseudocode?

  q ← new Queue()

  enqueue (127,q)

  enqueue (105,q)

  peek(q)

  enqueue (78,q)

  enqueue (-35,q)

  dequeue (q)

  peek(q)

  return  isempty(q)

0%
0%
0%
0%
0%
Переглянути це питання
What is the return value from this block of pseudocode?

  s ← new Stack()

   isempty(s)

   isempty(s)

  push (45,s)

  push (-115,s)

  peek(s)

  push (103,s)

  push (55,s)

  return peek(s)

Переглянути це питання
What is the return value from this block of pseudocode?

  s ← new Stack()

  q ← new Queue()

  push (83,s)

  pop (s)

   isempty(s)

  push (56,s)

  push (-63,s)

  pop (s)

  enqueue (32,q)

  peek(q)

  peek(s)

  pop (s)

  dequeue (q)

  push (31,s)

  return peek (s)

Переглянути це питання
What is the return value from this block of pseudocode?

  q ← new Queue()

  enqueue (50,q)

  enqueue (72,q)

  dequeue (q)

  dequeue (q)

  enqueue (40,q)

  dequeue (q)

  enqueue (-48,q)

  return peek (q)

Переглянути це питання
What is the return value from this block of pseudocode?

  s ← new Stack()

  push (45,s)

  pop (s)

   isempty(s)

  push (65,s)

  pop (s)

  push (52,s)

  pop (s)

  return  isempty(s)

0%
0%
0%
0%
Переглянути це питання
For a queue with elements implemented using a pair (front, tail) of references

to a singly-linked list, what is the complexity of the enqueue operation?

Переглянути це питання
For a stack with elements implemented using a singly-linked list, what is the complexity of the pop operation?
0%
0%
0%
0%
Переглянути це питання