摘要:
There are a total of n courses you have to take, labeled from 0 to n-1. Some courses may have prerequisites, for example to take course 0 you have to 阅读全文
阅读排行榜
[Java in NetBeans] Lesson 06. Custom classes
2018-12-14 04:33 by Johnson_强生仔仔, 300 阅读, 收藏,
摘要:
这个课程的参考视频和图片来自youtube。 主要学到的知识点有: Constructors: A special method called when an object of the class is created property pattern and encapsulation(封装): 阅读全文
[LeetCode] 549. Binary Tree Longest Consecutive Sequence II_ Medium tag: DFS recursive
2018-07-18 09:07 by Johnson_强生仔仔, 300 阅读, 收藏,
摘要:
Given a binary tree, you need to find the length of Longest Consecutive Path in Binary Tree. Especially, this path can be either increasing or decreas 阅读全文
[LeetCode] 113. Path Sum II
2018-07-14 00:49 by Johnson_强生仔仔, 300 阅读, 收藏,
摘要:
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. Note: A leaf is a node with no children. Exampl 阅读全文
[LeetCode] 230. Kth Smallest Element in a BST_Medium tag: Inorder Traversal
2018-07-24 00:51 by Johnson_强生仔仔, 299 阅读, 收藏,
摘要:
Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note: You may assume k is always valid, 1 ≤ k ≤ BST's 阅读全文
浙公网安备 33010602011771号