上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页
摘要: 1. copy-list-with-random-pointer(拷贝一个带随机指针的链表) A linked list is given such that each node contains an additional random pointer which could point to a 阅读全文
posted @ 2016-04-13 11:20 zxqstrong 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 1. jump game Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represen 阅读全文
posted @ 2016-04-13 10:57 zxqstrong 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 1. sum-root-to-leaf-numbers Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number. An example is the root 阅读全文
posted @ 2016-04-10 14:46 zxqstrong 阅读(279) 评论(1) 推荐(0) 编辑
摘要: 1. evaluate-reverse-polish-notation Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are+,-,*,/. Each operan 阅读全文
posted @ 2016-04-08 11:19 zxqstrong 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 1. word ladder 题目: Given two words (start and end), and a dictionary, find the length of shortest transformation sequence from start to end, such that 阅读全文
posted @ 2016-04-07 15:30 zxqstrong 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 1. longest-consecutive-sequence Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For example,Given[1 阅读全文
posted @ 2016-04-06 13:27 zxqstrong 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 1. palindrome-partitioning Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome pa 阅读全文
posted @ 2016-03-30 11:25 zxqstrong 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 1. single-number Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linea 阅读全文
posted @ 2016-03-30 09:50 zxqstrong 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1. permutation-sequence 顺序排列第k个序列 The set[1,2,3,…,n]contains a total of n! unique permutations. By listing and labeling all of the permutations in ord 阅读全文
posted @ 2016-03-29 21:48 zxqstrong 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 1). two-sum Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices 阅读全文
posted @ 2016-03-29 17:34 zxqstrong 阅读(601) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页