斐波那契數(shù)列 斐波那契額數(shù)列:1,1,2,3,5,8,13,21,34設(shè)計(jì)一個(gè)函數(shù),求第n位上的數(shù)。 1.暴力解 很簡(jiǎn)單的方法: 但是,這個(gè)方法...
投稿
斐波那契數(shù)列 斐波那契額數(shù)列:1,1,2,3,5,8,13,21,34設(shè)計(jì)一個(gè)函數(shù),求第n位上的數(shù)。 1.暴力解 很簡(jiǎn)單的方法: 但是,這個(gè)方法...
題目地址:https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/de...
題目地址:https://leetcode.com/problems/1-bit-and-2-bit-characters/descriptio...
題目地址:https://leetcode.com/problems/excel-sheet-column-number/description...
題目地址:https://leetcode.com/problems/rotate-string/description/ 大意:看題目的名字就...
題目地址:https://leetcode.com/problems/lemonade-change/description/ 大意:大概的意思...
題目地址:https://leetcode.com/problems/rotated-digits/description/ 題目大意: 比較繞...
題目地址:https://leetcode.com/problems/count-binary-substrings/description/ ...
題目地址:https://leetcode.com/problems/find-all-numbers-disappeared-in-an-ar...
題目地址:https://leetcode.com/problems/detect-capital/description/題目大意:判斷一個(gè)單...