Where's the problem with one dimensional arrays? As long as you use a binary heap there should be no problems.


Follow me on twitter