☑Kizspy.me
(Choose 1 answer)
0
1
2
3
4
5
(1)
☐ A
y
0
U
Consider the following pseudocode:
declare a queue of characters, which is implemented by circular array of size 6.
while(there are more characters in the word to read)
0
1
2
3
4
5
(2)
{read a character
y
0
if a character is *** then
dequeue the queue
else
enqueue the character into the queue
(3)
0
1
2
w =
3
4
5
}
How the queue looks like after processing the input "How***AreYou***"?
A. (2)
Back
Next
B. (1)
U
y
0
(4)
0
1
2
3
4
5
0
U
y
C. (3)
D. (4)
FUQ.sh
sh the exam.