摘要: Given the roots of two binary trees root and subRoot, return true if there is a subtree of root with the same structure and node values of subRoot and 阅读全文
posted @ 2020-03-12 13:38 CNoodle 阅读(237) 评论(0) 推荐(0)
摘要: There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i 阅读全文
posted @ 2020-03-12 11:14 CNoodle 阅读(221) 评论(0) 推荐(0)
摘要: There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i 阅读全文
posted @ 2020-03-12 09:45 CNoodle 阅读(260) 评论(0) 推荐(0)
摘要: Given a root node reference of a BST and a key, delete the node with the given key in the BST. Return the root node reference (possibly updated) of th 阅读全文
posted @ 2020-03-12 07:20 CNoodle 阅读(218) 评论(0) 推荐(0)