上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页
摘要: Add DigitsGiven a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is... 阅读全文
posted @ 2015-08-17 00:11 `Liok 阅读(461) 评论(0) 推荐(0) 编辑
摘要: Max Points on a LineGivennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.求有多少点在一直线上。粗暴地用二重循环遍历。每一轮都构造一个哈希表... 阅读全文
posted @ 2015-08-15 23:55 `Liok 阅读(417) 评论(0) 推荐(0) 编辑
摘要: Subsets IIGiven a collection of integers that might contain duplicates,nums, return all possible subsets.Note:Elements in a subset must be in non-desc... 阅读全文
posted @ 2015-08-15 20:51 `Liok 阅读(349) 评论(0) 推荐(0) 编辑
摘要: Subsets Given a set of distinct integers, nums, return all possible subsets. Note: Elements in a subset must be in non-descending order. The solution 阅读全文
posted @ 2015-08-15 20:48 `Liok 阅读(718) 评论(0) 推荐(0) 编辑
摘要: SAP S/4 HANA 精简课程公开课笔记https://open.sap.cn/courses/s4h1-cn参加了近期开的HANA精简课程,相当是对HANA的初步介绍,附上简单的笔记。什么是S/4 HANA?S/4HANA是SAP的下一代商务套件(Business Suite),S/4HANA... 阅读全文
posted @ 2015-08-09 16:26 `Liok 阅读(8564) 评论(0) 推荐(0) 编辑
摘要: Length of Last WordGiven a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.I... 阅读全文
posted @ 2015-08-05 23:51 `Liok 阅读(408) 评论(0) 推荐(0) 编辑
摘要: AnagramsGiven an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.https://leetcode.com/problems... 阅读全文
posted @ 2015-08-02 16:48 `Liok 阅读(391) 评论(0) 推荐(0) 编辑
摘要: First Missing PositiveGiven an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Yo... 阅读全文
posted @ 2015-08-02 11:44 `Liok 阅读(243) 评论(0) 推荐(0) 编辑
摘要: Surrounded RegionsGiven a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that... 阅读全文
posted @ 2015-08-01 23:48 `Liok 阅读(376) 评论(0) 推荐(0) 编辑
摘要: Valid AnagramGiven two stringssandt, write a function to determine iftis an anagram ofs.For example,s= "anagram",t= "nagaram", return true.s= "rat",t=... 阅读全文
posted @ 2015-08-01 15:58 `Liok 阅读(580) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页