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 | 5098 reads
|
Browse archives
Active forum topics |
Recent comments
27 weeks 2 days ago
27 weeks 2 days ago
27 weeks 2 days ago
49 weeks 3 days ago
1 year 1 week ago
1 year 3 weeks ago
1 year 3 weeks ago
1 year 5 weeks ago
1 year 10 weeks ago
1 year 10 weeks ago