12 2017 档案

摘要:Delete and Earn Given an array nums of integers, you can perform operations on the array. In each operation, you pick any nums[i] ... 阅读全文
posted @ 2017-12-28 20:37 liangf27 阅读(272) 评论(0) 推荐(0)
摘要:Longest Palindromic Substring: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length ... 阅读全文
posted @ 2017-12-27 15:51 liangf27 阅读(102) 评论(0) 推荐(0)
摘要:Letter Combinations of a Phone Number: Given a digit string, return all possible letter combinations that the number could represent.... 阅读全文
posted @ 2017-12-26 18:34 liangf27 阅读(122) 评论(0) 推荐(0)
摘要:Length of Last Word: Given a string s consists of upper/lower-case alphabets and empty space characters ’ ‘, return the length of las... 阅读全文
posted @ 2017-12-17 00:00 liangf27 阅读(70) 评论(0) 推荐(0)
摘要:Find Pivot: Given an array of integers nums, write a method that returns the “pivot” index of this array. We define the pivot inde... 阅读全文
posted @ 2017-12-09 10:49 liangf27 阅读(75) 评论(0) 推荐(0)
摘要:Find Bottom Left Tree Value: Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Input: 2 ... 阅读全文
posted @ 2017-12-02 14:42 liangf27 阅读(74) 评论(0) 推荐(0)