肉燥飯

五花肉肥肉切丁 下鍋小火煸油 (香味來自豬油,相當重要) 醬油 五香粉 紅蔥頭 加剛剛的豬油開始滷肉燥

         続きを読む

Leetcode # 146. LRU Cache

https://leetcode.com/problems/lru-cache Solution Time Complexity: O(capacity) Space Complexity: O(capacity) (The input and output generally do not count towards the space complexity.) class LRUCache: ...

         続きを読む

Leetcode # 13. Roman to Integer

https://leetcode.com/problems/roman-to-integer Solution Time Complexity: O(len(s)) Space Complexity: O(1) (The input and output generally do not count towards the space complexity.) class Solution: de ...

         続きを読む

Leetcode # 283. Move Zeroes

https://leetcode.com/problems/move-zeroes Solution Time Complexity: O(len(nums)) Space Complexity: O(1) (The input and output generally do not count towards the space complexity.) class Solution: def ...

         続きを読む

模除|剰余演算|Modulo

Definition of a % n = r | a mod n = r $$ a = nq + r; \quad q, r \in \mathbb{Z} \quad |r| < |n| $$ In programming languages 程式語言 演算子 餘數的符號(正負) C (ISO 1999) % / div 與被除數相同 C++ (ISO 2011) % / div 與被除數 ...

         続きを読む
1 ... 30 ... 53
Bitnami