Top "Heap" questions

A heap (data structure) is a tree that is ordered with respect to depth.

Can I get Tomcat running as a service to dump heap?

I am attempting to have Tomcat, which is currently running as a service on a Windows 2003 box, dump heap on …

java tomcat hudson heap tomcat6
What's the difference between heapq and PriorityQueue in python?

In python there's a built-in heapq algorithm that gives you push, pop, nlargest, nsmallest... etc that you can apply to …

python data-structures heap priority-queue
Why is memory split up into stack and heap?

Possible Duplicate: What and where are the stack and heap I have a couple of questions on stack versus heap. …

memory memory-management stack heap
"Not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation"

I'm beginning a program using heaps in which I must insertSort, mergeSort, and quickSort into the heap. I was instructed …

c++ heap quicksort mergesort insertion-sort
The number of method references in a .dex file exceed 64K

Currently working on my android application after including play services and firebase library in my project I'm getting this error …

android heap dex android-multidex
Why not use pointers for everything in C++?

Suppose that I define some class: class Pixel { public: Pixel(){ x=0; y=0;}; int x; int y; } Then write some code …

c++ pointers stack heap
how to get the max heap in python

I use heapq module in python, I find I only can the min heap, even if I use reverse=True …

python heap max-heap
Python heapify() time complexity

def heapify(A): for root in xrange(len(A)//2-1, -1, -1): rootVal = A[root] child = 2*root+1 while child < …

python python-3.x python-2.7 heap heapq
Is memory allocation a system call?

Is memory allocation a system call? For example, malloc and new. Is the heap shared by different processes and managed …

c++ c operating-system heap
How do I allocate a std::string on the stack using glibc's string implementation?

int main(void) { std::string foo("foo"); } My understanding is that the above code uses the default allocator to call …

c++ memory stack heap stdstring