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 | 5078 reads
|
Browse archives
Active forum topics |
Recent comments
22 weeks 1 day ago
22 weeks 1 day ago
22 weeks 1 day ago
44 weeks 2 days ago
48 weeks 4 days ago
50 weeks 1 day ago
50 weeks 1 day ago
1 year 5 days ago
1 year 5 weeks ago
1 year 5 weeks ago