aixh
aixh
全部文章
分类
Java(117)
LeetCode(33)
Linux(1)
MongoDB(1)
MySQL(2)
计算机安全与网络编程(1)
归档
标签
去牛客网
登录
/
注册
aixh的博客
全部文章
(共16篇)
129. Sum Root to Leaf Numbers
这是一道关于二叉树树的题目,题目的本质是进行遍历各节点。 代码如下: class Solution(object): def Get_Sum(self, root, n): if not root: return 0 if ...
LeetCode
二叉树的便利
2018-02-02
0
465
539. Minimum Time Difference
Given a list of 24-hour clock time points in "Hour:Minutes" format, find the minimum minutes difference between any two time points in the...
LeetCode
Java
2018-04-10
0
533
45. Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxi...
LeetCode
2019-04-22
0
448
76. Minimum Window Substring
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). Example: Input: S = &qu...
LeetCode
2019-04-23
0
535
126. Word Ladder II
Given two words (beginWord and endWord), and a dictionary's word list, find all shortest transformation sequence(s) from beginWord to endWord, such th...
LeetCode
2019-04-24
0
474
131. Palindrome Partitioning
Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. Example:...
LeetCode
2019-04-24
0
540
132. Palindrome Partitioning II
Given a string s, partition s such that every substring of the partition is a palindrome. Return the minimum cuts needed for a palindrome partitionin...
LeetCode
2019-04-24
0
385
133. Clone Graph
Given a reference of a node in a connected undirected graph, return a deep copy (clone) of the graph. Each node in the graph contains a val (int) and ...
LeetCode
2019-04-24
0
434
139. Word Break
Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a space-separated sequ...
LeetCode
2019-04-27
0
544
140. Word Break II
Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence where each word is ...
LeetCode
2019-04-27
0
389
首页
上一页
1
2
下一页
末页