@saljam_ the more i think of it, the less I'm sure of priority queues. But it's as good as anything else...
@saljam_ you also want to be able to get elements to left and right, and above/below as well, right?
-
-
@saljam_ clearly what you want is an ordered list which is ordered on elements of a doubly linked list :P
-
@saljam_ is there some automatic procedure, if you write down a list of all the functions you want, that suggests a good data structure?
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.