+ 1
How to do a Min heap code in C++ Without using arrays??
My Professor gave me an assignment to make a code of a min heap but i can't use arrays to do it. And i've been having a lot of trouble finding a way to actually make one without it. Any ideas of how could i do it just using nodes, recursion or something else?
3 Answers
0
Use a linked list? You can easily make one by messing with pointers.
0
I can't use Linked list either, i already asked if i could :(
0
The classic heap structure doesn't use an array. The heap structure is similar to a binary search tree.
https://www.sololearn.com/learn/13594/?ref=app
Hot today
Python — File Handling
0 Votes
Loop question, I've tried everything that I knew I just don't know. Please help me solve it out
1 Votes
Help me solve this (using loop)
1 Votes
What is wrong? Error on test.
1 Votes
Help me wiht python
1 Votes
?
0 Votes