一、問題鏈接: https://leetcode.com/problems/find-words-that-can-be-formed-by-characters/Examp...
一、問題鏈接: https://leetcode.com/problems/find-words-that-can-be-formed-by-characters/Examp...
一、問題鏈接: https://leetcode.com/problems/merge-intervals/ 問題是針對提出的二維數(shù)組,去掉交叉的部分,計算出部分重疊的數(shù)組 ...
一、問題鏈接:https://leetcode.com/problems/squares-of-a-sorted-array/二、思路:1、給定一個數(shù)組,目前是非遞減排序,給...
一、問題鏈接:https://leetcode.com/problems/sort-array-by-parity/description/二、思路:看完描述之后,對odd和...
一、問題鏈接:https://leetcode.com/problems/unique-morse-code-words/description/三、編碼:class Sol...
一、問題鏈接:https://leetcode.com/problems/to-lower-case/description/二、思路:使用StringUtils去除掉nul...
一、問題鏈接:https://leetcode.com/problems/integer-replacement/description/ 二、思路:對偶數(shù)直接除二對奇數(shù)進(jìn)行...
一、問題鏈接:https://leetcode.com/problems/h-index-ii/description/ 二、思路:數(shù)組有序開始遍歷整個數(shù)組,最終的結(jié)果是找出...
一、問題鏈接:https://leetcode.com/problems/contains-duplicate/description/ 二、思路:找出數(shù)組中是否有重復(fù)的元素...