上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 49 下一页
摘要: Given a binary search tree with non negative values, find the minimum absolute difference between values of any two nodes. Example: Note: There are at 阅读全文
posted @ 2018-12-05 22:30 A-Little-Nut 阅读(105) 评论(0) 推荐(0) 编辑
摘要: Given a group of two strings, you need to find the longest uncommon subsequence of this group of two strings. The longest uncommon subsequence is defi 阅读全文
posted @ 2018-12-05 22:29 A-Little-Nut 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of 阅读全文
posted @ 2018-12-05 22:20 A-Little-Nut 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Given a string s, find the longest palindromic subsequence’s length in s. You may assume that the maximum length of s is 1000. Example 1: Example 2: 分 阅读全文
posted @ 2018-12-05 22:18 A-Little-Nut 阅读(100) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Example 2: Note: You may assume the tree (i.e., the given root no 阅读全文
posted @ 2018-12-05 22:16 A-Little-Nut 阅读(91) 评论(0) 推荐(0) 编辑
摘要: Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: “Gold Medal”, “Sil 阅读全文
posted @ 2018-12-05 22:14 A-Little-Nut 阅读(90) 评论(0) 推荐(0) 编辑
摘要: Given an integer, return its base 7 string representation. Example 1: Example 2: Note: The input will be in range of [ 1e7, 1e7]. class Solution { //水 阅读全文
posted @ 2018-12-05 22:13 A-Little-Nut 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Given a List of words, return the words that can be typed using letters of alphabet on only one row’s of American keyboard like the image below. Examp 阅读全文
posted @ 2018-12-04 22:10 A-Little-Nut 阅读(113) 评论(0) 推荐(0) 编辑
摘要: You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1‘ 阅读全文
posted @ 2018-12-04 22:09 A-Little-Nut 阅读(118) 评论(0) 推荐(0) 编辑
摘要: You are given a list of non negative integers, a1, a2, ..., an, and a target, S. Now you have 2 symbols + and . For each integer, you should choose on 阅读全文
posted @ 2018-12-04 22:06 A-Little-Nut 阅读(102) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 49 下一页