討論串[閒聊] 每日leetcode
共 1548 篇文章
內容預覽:
幾百年沒寫了. 今天的寫不出來. 看答案才知道gray code 這甚麼姬芭==. 還有遞迴 這感覺我也想不太到. 姆咪. def minimumOneBitOperations(self, n: int) -> int:. # init. bits = []. while n:. bits.app
(還有1412個字)
內容預覽:
1562.. 看到今天是ez不想寫. 然後發現昨天的是hard. 阿不是啊. hard 5行喔?. 誰訂的 真的嗎0.0. class Solution {. public:. int minNumberOperations(vector<int>& target) {. int res = 0,
(還有106個字)