![]() If it is a BST, just preorder is all that we need to deserialize it. Thus, given a tree with height H, create an array of size 2^H. If you want to store more info, then store the strings you use for annotations as a key to a dictionary containing the state. SyntaxAnnotation is sealed because your tree may be serialized, and we need to be able to serialize and deserialize the annotations.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |