摘要:
https://leetcode.com/problems/candy/There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these child... 阅读全文
摘要:
https://leetcode.com/problems/compare-version-numbers/Compare two version numbersversion1andversion2.Ifversion1>version2return 1, ifversion1 Integer.p... 阅读全文
摘要:
https://leetcode.com/problems/subsets-ii/Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in ... 阅读全文
摘要:
https://leetcode.com/problems/subsets/Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descend... 阅读全文
摘要:
https://leetcode.com/problems/length-of-last-word/Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the leng... 阅读全文