Why does enqueue use parent?

Why does enqueue use parent? dequeue uses left and right PRIORITY QUEUES suck :(
Why does enqueue use parent? dequeue uses left and right PRIORITY QUEUES suck 🙁

I’m sorry to hear you’re having a hard time with your programming. It definitely sounds frustrating, but you’re not the only person who’s had to learn this before. I’d recommend checking in with your professor to see if they have any clear explanations for you.