摘要:
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... 阅读全文
摘要:
Max Points on a LineGivennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.求有多少点在一直线上。粗暴地用二重循环遍历。每一轮都构造一个哈希表... 阅读全文
摘要:
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... 阅读全文
摘要:
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 阅读全文
摘要:
SAP S/4 HANA 精简课程公开课笔记https://open.sap.cn/courses/s4h1-cn参加了近期开的HANA精简课程,相当是对HANA的初步介绍,附上简单的笔记。什么是S/4 HANA?S/4HANA是SAP的下一代商务套件(Business Suite),S/4HANA... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
Valid AnagramGiven two stringssandt, write a function to determine iftis an anagram ofs.For example,s= "anagram",t= "nagaram", return true.s= "rat",t=... 阅读全文