Examlex

Solved

In the Following Code for the Pop Method for a Linked

question 46

Multiple Choice

In the following code for the pop method for a linked queue implementation, what is the missing code?
Def pop(self) :
OldItem = self.front.data
Self.front = self.front.next
If self.front is None:
Self.rear = None
< missing code >
Return oldItem


Definitions:

Related Questions