Re: enqueue data structure
- From: Pascal Bourguignon <pjb@xxxxxxxxxxxxxxxxx>
- Date: Fri, 27 Oct 2006 15:17:02 +0200
dis_is_eagle@xxxxxxxxx writes:
Hi.What is a enqueue?How is it different from a dequeue?How can it be
implemented in C?
head tail
| |
v v
queue: A-B-C-D-E
enqueue(queue,D) ==>
head tail
| |
v v
queue: A-B-C-D-E-D
dequeue(queue) ==>
head tail
| |
v v
queue: B-C-D-E-D
result: A
--
__Pascal Bourguignon__ http://www.informatimago.com/
"You cannot really appreciate Dilbert unless you read it in the
original Klingon"
.
- Follow-Ups:
- Re: enqueue data structure
- From: dis_is_eagle
- Re: enqueue data structure
- References:
- enqueue data structure
- From: dis_is_eagle
- enqueue data structure
- Prev by Date: Re: finding primes
- Next by Date: Re: Unit Testing in C++
- Previous by thread: enqueue data structure
- Next by thread: Re: enqueue data structure
- Index(es):