User loginNavigation |
implementing heap as a binary treeI am trying to implement heap in CLisp. I have already done it by making a linear data strcuture with no left / right pointers. But now I want to use a nested list format which contains (el () ()) at the highst level. I approach the issue as follows: 1. I will take a heap and an element But I am stuck at the second step i.e. how to add an element without making the tree incomplete? KIndly help me on this!!!!!!! By lsptog at 2007-09-27 18:22 | LtU Forum | previous forum topic | next forum topic | other blogs | 5277 reads
|
Browse archives
Active forum topics |
Recent comments
17 weeks 3 days ago
17 weeks 3 days ago
17 weeks 3 days ago
23 weeks 3 days ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 33 weeks ago
1 year 38 weeks ago
1 year 39 weeks ago