Binomial Queue

I want to write a code for binomial queues.

I wanted to know if its possible in a binomial queue to have same values in the queue

For example:
I insert 1, then 2 then again 1, is it possible?

1 1
|
2


If its, then after inserting 1,2,1 I insert 3 and it gives me a output of:



1 1
| |
2 3

And i want to remove the minimum, which one is it in this case ? And how do I merge if the minimum are the same?
Topic archived. No new replies allowed.