A surprisingly useful little class: TwoWayPointer
In graph like data structures (explicit or implicit) there is a problem of memory safety when you remove a node. You have to clean up all the connections pointing to you. If your graph structure is explicit this is easy, otherwise it can often be annoying to find all pointers pointing to you. A while … Continue reading A surprisingly useful little class: TwoWayPointer
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed