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 | 5307 reads
|
Browse archives
Active forum topics |
Recent comments
1 day 37 min ago
1 day 52 min ago
6 days 1 hour ago
6 days 1 hour ago
6 days 1 hour ago
3 weeks 6 days ago
4 weeks 5 days ago
4 weeks 5 days ago
4 weeks 6 days ago
4 weeks 6 days ago