Homechevron_rightEngineeringchevron_rightComputer Sciencechevron_rightData Structurechevron_rightQueue data structure works on

Queue data structure works on

  • Q. Queue data structure works on
  • filter_dramaExplanation
    Answer is : B
    None.

Discussion

    No one started the discussion yet. Break the ice and start the conversation.
    Please Login to be part of the discussion.

Similar Questions

  • 1. What is the time complexity to insert a node based on key in a priority queue?
  • filter_dramaExplanation
    Answer is : C
    None.
  • 2.
  • filter_dramaExplanation
    Answer is : B
    None.
  • 3. What is the term for inserting into a full queue known as?
  • filter_dramaExplanation
    Answer is : A
    None.
  • 4. With what data structure can a priority queue be implemented?
  • filter_dramaExplanation
    Answer is : D
    None.
  • 5. What is the functionality of the following piece of code?

    public void function(Object item)
    {
    	Node temp=new Node(item,trail);
    	if(isEmpty())
    	{
    		head.setNext(temp);
    		temp.setNext(trail);
    	}
    	else
    	{
    		Node cur=head.getNext();
    		while(cur.getNext()!=trail)
    		{
    			cur=cur.getNext();
    		}
    		cur.setNext(temp);
    	}
    	size++;
    }
  • filter_dramaExplanation
    Answer is : B
    None.

Data StructureTopics

leaderboardLeaderboard
  • Rahul Kumar

    191 Points

  • VIKRAM JEET

    54 Points

  • GEETHIKA CHOWDARY

    53 Points

  • sunita saini

    52 Points

  • Zain

    49 Points