上一页 1 2 3 4 5 6 7 ··· 31 下一页
摘要: 题目: All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes useful 阅读全文
posted @ 2017-06-25 20:35 panini 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 题目: Given an input string, reverse the string word by word. A word is defined as a sequence of non-space characters. The input string does not contain 阅读全文
posted @ 2017-06-21 20:15 panini 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest form 阅读全文
posted @ 2017-06-21 19:51 panini 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 题目: Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST. Calling next() will return t 阅读全文
posted @ 2017-06-20 19:32 panini 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 题目: Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repea 阅读全文
posted @ 2017-06-20 09:28 panini 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 题目: Compare two version numbers version1 and version2.If version1 > version2 return 1, if version1 < version2 return -1, otherwise return 0. You may a 阅读全文
posted @ 2017-06-16 19:54 panini 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a sorted integer array where the range of elements are [lower, upper] inclusive, return its missing ranges. For example, given [0, 1, 3, 50, 阅读全文
posted @ 2017-06-16 19:24 panini 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 题目: A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], find a peak element and return its 阅读全文
posted @ 2017-06-15 20:45 panini 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 题目: Given two strings S and T, determine if they are both one edit distance apart. 链接: http://leetcode.com/problems/one-edit-distance/ 6/14/2017 2ms, 阅读全文
posted @ 2017-06-14 20:15 panini 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip i 阅读全文
posted @ 2017-06-14 19:39 panini 阅读(143) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 31 下一页