Multiple choices 46/50
Answer (Choose 1 answer)
A. front 3, rear = 5
B. front1, rear = 4
C. front 2, rear = 5
D. front 3, rear = 4
The following circular queue can accommodate a maximum six elements with the following data
front = 2 rear = 4
queue = L; M; N;
What are the values of front and rear after add O operation takes place?
queue =
L; M; N; O
Next
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 24 25
26 27 28 29
30
31
32
33
34
35
36
37 38
39
40 41
42
43 44 45 46 47 48
49 50