51.
Entries in a stack are "ordered". What is the meaning of this statement?

52.
In linked list implementation of a queue, from where is the item deleted?

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;
	}
}

56.
Consider a small circular linked list. How to detect the presence of cycles in this list effectively?

Read More Section(Introduction to Data Structures)

Each Section contains maximum 100 MCQs question on Introduction to Data Structures. To get more questions visit other sections.