ExamVeda
Login
Home
51
Entries in a stack are "ordered". What is the meaning of this statement?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
52
In linked list implementation of a queue, from where is the item deleted?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
53
What is the space complexity for deleting a linked list?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
54
Which of the following is not the type of queue?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
55
What is the functionality of the following piece of code?
public Object delete_key() 
{
	if(count == 0)
	{
		System.out.println("Q is empty");
		System.exit(0);
	}
	else
	{
		Node cur = head.getNext();
		Node dup = cur.getNext();
		Object e = cur.getEle();
		head.setNext(dup);
		count--;
		return e;
	}
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
56
Consider a small circular linked list. How to detect the presence of cycles in this list effectively?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
57
If the elements "A", "B", "C" and "D" are placed in a stack and are deleted one at a time, what is the order of removal?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
58
Which of the following sorting algorithms can be used to sort a random linked list with minimum time complexity?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
59
What kind of linked list is best to answer questions like "What is the item at position n?"
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
60
What is the time complexity of inserting at the end in dynamic arrays?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board