Intel Interview Report
- 0of 0 votes
Write functions for insertion and deletion in a circular queue implemented using an array in C.- KaranGoswamiKenZ May 02, 2012 in United States for Firmware
Hint: Remove the node from the end.
Add a node in the front. Move the pointer for removal and insertion. Pointer is just a counter for the index. Modulus it by size of array so that it circles from 0-n.
When pointers match , array is full.
| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Arrays
Open Chat in New Window