About 9,730,000 results
Open links in new tab
  1. What and where are the stack and heap? - Stack Overflow

    Sep 17, 2008 · What are the stack and heap? Where are they located physically in a computer's memory? To what extent are they controlled by the OS or language run-time? What is their …

  2. malloc - What is a Memory Heap? - Stack Overflow

    Feb 22, 2010 · A memory heap is a location in memory where memory may be allocated at random access. Unlike the stack where memory is allocated and released in a very defined …

  3. When would I want to use a heap? - Stack Overflow

    Apr 14, 2009 · Besides the obvious answer of a Priority Queue, when would a heap be useful in my programming adventures?

  4. Why are two different concepts both called "heap"? [duplicate]

    Why are the runtime heap used for dynamic memory allocation in C-style languages and the data structure both called "the heap"? Is there some relation?

  5. c# - Memory allocation: Stack vs Heap? - Stack Overflow

    I am getting confused with memory allocation basics between Stack vs Heap. As per the standard definition (things which everybody says), all Value Types will get allocated onto a Stack and …

  6. algorithm - Heap vs Binary Search Tree (BST) - Stack Overflow

    May 27, 2011 · What is the difference between a heap and BST? When to use a heap and when to use a BST? If you want to get the elements in a sorted fashion, is BST better over heap?

  7. What do I use for a max-heap implementation in Python?

    Python includes the heapq module for min-heaps, but I need a max-heap. What should I use for a max-heap implementation in Python?

  8. How is the java memory pool divided? - Stack Overflow

    Heap memory The heap memory is the runtime data area from which the Java VM allocates memory for all class instances and arrays. The heap may be of a fixed or variable size. The …

  9. What is Python's heapq module? - Stack Overflow

    The heapq module maintains the heap invariant, which is not the same thing as maintaining the actual list object in sorted order. Quoting from the heapq documentation: Heaps are binary …

  10. Examining C/C++ Heap memory statistics in gdb - Stack Overflow

    Apr 7, 2010 · Examining C/C++ Heap memory statistics in gdb Asked 15 years, 9 months ago Modified 4 years, 4 months ago Viewed 62k times