For Example, the following is the queue.
5 2 56 12 4 21
if the given element is 12, the output should be:
5 2 56 12
IF the given element is 78, the output should be:
No element before 78
Type: Posts; User: Faha
For Example, the following is the queue.
5 2 56 12 4 21
if the given element is 12, the output should be:
5 2 56 12
IF the given element is 78, the output should be:
No element before 78
thanx 4 the edit..
that what i did but still there is missing thing
public Object printDepth(int a)
{
if(!isEmpty())
{
for(int i=front;i!=rear+1;i++)
Hello this is my Question in queue using array...
.............................................................................
the task is to create a queue application using array....