What is meant by QUEUE?
Answers were Sorted based on User's Feedback
Answer / kranthi
A Queue is a data structer all the item are held in a row,and
collection of items in which
only the earliest added item may be accessed.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / fahed usman rana
A Queue is such type of data structure in which all the items
are held in a row in such a way that you can replace an item
only from the head of queue and insert only from the tail of
queue. FIFO is used in this Data structure.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / tulsi das pramanik
A queues is similar
to a cheakout line on
the bus stand,
the 1st person on
line is serviced 1st
and the person can
enter the line only
at end.
For this reasion
queues is called a
FIFO(first in first
out).
| Is This Answer Correct ? | 0 Yes | 0 No |
Write code to read the records from a file and load any array of size 99?make sure that you take care of all the error conditions?
This is a puzzle question .... The warden meets with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another. "In the prison is a switch room, which contains two light switches labeled A and B, each of which can be in either the 'on' or the 'off' position. I am not telling you their present positions. The switches are not connected to anything. "After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must move one, but only one of the switches. He can't move both but he can't move none either. Then he'll be led back to his cell. "No one else will enter the switch room until I lead the next prisoner there, and he'll be instructed to do the same thing. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. "But, given enough time, everyone will eventually visit the switch room as many times as everyone else. At any time anyone of you may declare to me, 'We have all visited the switch room.' and be 100% sure. "If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will be fed to the alligators." What is the strategy they come up with so that they can be free?
1. Write a program to create a sentence at runtime and count number of vowels in it ? 2. Write a program to get a string and to convert the 1st letter of it to uppercase ?
what is difference between c and C#
Corillian's product is a "Component Container." Name at least 3 component
differences between qtp10.0 and 11.0 ?
merge sort time complexity
6 Answers BFL, CDAC, IBM, Jawaharlal Nehru Technological University JNTU,
can u send some model papers how computer awareness questions are asked in goverment jobs(oriental insurance)to my mail id me.priyankapadma@rediff.com
Diff between %let and Call symput?
What is Partial class and its use?
Need guidewire related Documents(Interview Question/Tips/Best Practice/Dumps)
how to study PHP my own? i reffered many sites.. but as being a fresher i couldnt follow those... which site will be the best one?