How many pebbles form a heap?
In Java, the default heap is 128 megabytes, or 1073741824 bits. If you assume that half the heap will have a 1 instead of a zero, ie. a pebble as opposed to no pebble, I would say that around 536870912 pebbles form a heap.
How many pebbles form a heap?
In Java, the default heap is 128 megabytes, or 1073741824 bits. If you assume that half the heap will have a 1 instead of a zero, ie. a pebble as opposed to no pebble, I would say that around 536870912 pebbles form a heap.