Heap means | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Heap means

28th Apr 2018, 4:02 AM
Siva Kumar
Siva Kumar - avatar
3 Answers
+ 1
The heap generally refers to a low level operating system term. The heap is a structure which manages unallocated memory in an operating system. It's most widely used in garbage collectors, which are necessary in everything from compilers to operating systems to anything where memory efficiency is of notable importance. A heap generally refers to a basic data structure. It's just a tree that is implemented in a way that is sorted in a certain way, which allows for very quickly accessing things like minimums and maximums, as well as relationships with parent/child nodes. When I was first learning about them I used the concept of the DOM to help understand it.
28th Apr 2018, 4:17 AM
MsJ
MsJ - avatar
0
di know
28th Apr 2018, 4:02 AM
Siva Kumar
Siva Kumar - avatar