wagaru

Results 6 comments of wagaru

想問一下,當整個 list 只有一個 node 時,此時的 head 跟 tail 會指向同一個 node, 但最後模板的 Remove 沒有處理 this.tail 就 return,這樣 this.tail 仍然會指向 node ? ``` func (this *LRUCache) Remove(node *Node) { if node ==...

想確認一下,這邊會需要透過 `copy(temp, cur)` 是因為 `append(cur, s[start:i+1])` 回傳的位址可能跟 cur 相同嗎? ``` func dfs131(s string, idx int, cur []string, result *[][]string) { start, end := idx, len(s) if start == end {...

...比如:“3” 和 “30” 比较,“30” 比 “3” 的字符序要大,这样... 3 的字符序不是比 30 大嗎?

啊…你的說對我誤會了

> @wagaru @framled Just to make sure that I understood you correctly. If one of the given two paths is **NOT** accessible, you still want task to succeed? > >...

嗨,想幫忙這個 issue,但想確定一下結節… 1. 這個+1-1的計算看起來應該是在 ptt-backend 這邊計算,然後判斷執行+1/-1的 user 跟文章作者是否是同一人,再決定+1/-1的行為 2.透過 gobbs 提供的 public interface 取得目前的推文總數,計算完後再透過另一個 gobbs 的 public interface 更新 然後現況是目前 gobbs 還沒有相關的實作,並且 Google DOC 也還沒有這個 endpoint 對嗎?