By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,486 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,486 IT Pros & Developers. It's quick & easy.

enqueue in heap

P: 2
i need a simple code to enqueue an element in heap.

which type of array i should use, either it will be an empty arrray or it will have elements.
Nov 8 '08 #1
Share this Question
Share on Google+
1 Reply


weaknessforcats
Expert Mod 5K+
P: 9,197
An array must have elements.

I am also not sure what you mean by "enqueue on the heap" since the heap is not a queue.

What is it, exactly, that you are trying to do?
Nov 8 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.