摘要:
问题: 给定编号为:0~numCourses-1 ,numCourses门课。 以及课程依赖关系:prerequisites,prerequisites[x][0] 依赖 prerequisites[x][1] 即得先上 prerequisites[x][1] 课程,才能上prerequisites 阅读全文
posted @ 2021-02-26 15:32
habibah_chang
阅读(76)
评论(0)
推荐(0)
摘要:
问题: 给定二叉树,求从右边观察这棵树,能看到的每层第一个元素。 Example 1: Input: root = [1,2,3,null,5,null,4] Output: [1,3,4] Example 2: Input: root = [1,null,3] Output: [1,3] Exam 阅读全文
posted @ 2021-02-26 13:26
habibah_chang
阅读(56)
评论(0)
推荐(0)

浙公网安备 33010602011771号