initialy cal size of queue then apply a for loop

On Fri, Jun 10, 2011 at 4:00 PM, sunny agrawal <sunny816.i...@gmail.com>wrote:

> First algorithm taht comes in mind
>
> deque a element
> if +ve enque again
> if(-ve) do nothing
>
> now question is terminating condition
>
>
> On Fri, Jun 10, 2011 at 3:44 PM, Sangeeta <sangeeta15...@gmail.com> wrote:
>
>> write an algo that deletes all negative integers without changing the
>> order of remaining elements of the queue
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algogeeks@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>>
>
>
> --
> Sunny Aggrawal
> B-Tech IV year,CSI
> Indian Institute Of Technology,Roorkee
>
>


-- 
Sunny Aggrawal
B-Tech IV year,CSI
Indian Institute Of Technology,Roorkee

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to