1
$\begingroup$

Heap is a kind of data structure used in computer science. But what is it dimension? An array can be 1-D 2-D...etc Young's tableaux is 2-D But what about heaps?

$\endgroup$
  • $\begingroup$ I don't think this question is physics related. $\endgroup$ – Mauricio May 2 '18 at 8:17
  • $\begingroup$ it is indeed statistical mechanics, if you know enough physics. $\endgroup$ – latra May 2 '18 at 8:19
  • $\begingroup$ Maybe math related. $\endgroup$ – Mauricio May 2 '18 at 8:20
0
$\begingroup$

How do you define a dimension of a data-structure? A heap can be stored and maintained in a 1-D array, does that mean it's 1-D?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy