10 dequeue operations and 9 enqueue operations. the extra dequeue is to
pop. the 9 dequeues are to remove from this queue and 9 enqueues to insert
into the 2nd queue

On Thu, Dec 1, 2011 at 11:51 AM, Vijay Khandar <vijaykhand...@gmail.com>wrote:

> A stack is implemented with two queues then what are the minimum
> enqueue and dequeue operations needed to perform for pop
> operation,where '10' elements are already in the first queue?
>
>
> please anyone provide soln with explation.........
>
> --
> 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.
>
>


-- 
*Regards*,
*Sri Harsha*

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