一.解法 https://leetcode-cn.com/problems/bulls-and-cows/ 要點(diǎn):hashmapP...
一.解法 https://leetcode-cn.com/problems/nim-game/ 要點(diǎn):數(shù)學(xué),動(dòng)態(tài)規(guī)劃一開(kāi)始想到用動(dòng)...
一.解法 https://leetcode-cn.com/problems/word-pattern/ 要點(diǎn):hashmapPytho...
一.解法 https://leetcode-cn.com/problems/move-zeroes/ 要點(diǎn):雙指針C++用了從后往前找0冒...
一.解法 https://leetcode-cn.com/problems/first-bad-version/ 要點(diǎn):二分法Python...
一.解法 https://leetcode-cn.com/problems/missing-number/要點(diǎn):數(shù)學(xué),hashmap,排序C++...
一.解法 https://leetcode-cn.com/problems/ugly-number/要點(diǎn):數(shù)學(xué)丑數(shù)除去所有的2,所有的3,所有的...
一.解法 https://leetcode-cn.com/problems/add-digits/要點(diǎn):數(shù)學(xué)這道題可以用循環(huán)方法解決,將給定的數(shù)...
一.解法 https://leetcode-cn.com/problems/binary-tree-paths/要點(diǎn):遞歸,DFSPython,...