79558957

Date: 2025-04-07 02:02:10
Score: 0.5
Natty:
Report link

freeing a tree needs post-order, because post order traverse child first, you can't free parent, if it has children.

a real example is linux kernel rbtree include/linux/rbtree.h rbtree_postorder_for_each_entry_safe

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yuanjianpeng