Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. How many pointer fields are contained (at least) in the node of a doubly link

ID: 3725651 • Letter: 1

Question

1. How many pointer fields are contained (at least) in the node of a doubly linked list. (5 points) TWo Pointers 2. Convert the infix expression ((2+(5*7)-3) to postfix. (10 points) 3. Consider the implementation of queues by using arrays. Assuming we initialize the pointers FRONT and REAR as below, FRONT, REAR =-1 and answer the following questions. 3a. Consider the implementation of queues by using arrays with the size of 6. After you add and remove items couple of times, the current content in the queue shown as below, what is FRONT-_and REAR each) (5 points 3b. Consider the implementation of queues by using arrays with the size of 6. After you add and remove items couple of times, the current content in the queue shown as below, what is FRONT = and REAR = (5 points each) BC D EF 4. Read the following code. Fill in each blank. (3 points each)

Explanation / Answer

As per Chegg policy, I am answering first 4 questions:

1.) In the doubly linked list, we require at least 2 pointers. One for next item, and another for the previous item.

2.) Postfix Expression: 2 5 7 * + 3 -

3.)a.) When there is one element in the queue, both rear and front point to the same location. Front = Rear = 0

b.) front =1 and rear = 5