等差數列(Arithmetic sequence)絕對是基礎數學,Leetcode1716 Calculate Money in Leetcode Bank這題當然是用O(1)時間的解答方式。
herrDeng網內搜尋

自訂搜尋
Ads
2023年12月6日 星期三
2023年12月4日 星期一
C, python解leetcode 2264 Largest 3 Same Digit Number in String
Leetcode又是連續出數日簡單的問題2264. Largest 3-Same-Digit Number in String,然而簡單問題還要要用適當的方式來解,解法最好有延展性,就用類似sliding window的解法。
訂閱:
文章 (Atom)