摘要: Given a binary tree root and an integer target, delete all the leaf nodes with value target. Note that once you delete a leaf node with value target, 阅读全文
posted @ 2020-12-02 02:52 CNoodle 阅读(270) 评论(0) 推荐(0)
摘要: We are given the head node root of a binary tree, where additionally every node's value is either a 0 or a 1. Return the same tree where every subtree 阅读全文
posted @ 2020-12-02 02:23 CNoodle 阅读(77) 评论(0) 推荐(0)