Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

great for reading trees, but not for cases where nodes need to be added or removed. There's a "zipper tree" structure but it's kind of a pain to implement:

https://github.com/xdavidliu/fun-problems/blob/main/zipper-t...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: