DAY 6 試題
(由於此題為上鎖題,因此題目只能從網路分享看到)
問題描述
給定一個由 n 個節點(標號為 0 到 n-1)和一個無向邊列表組成的圖,要求判斷...
Given an integer array nums and an integer k, return the number of good subarray...
Heap 漏洞通常與記憶體管理有關,特別是 C 和 C++ 等可以直接操作記憶體語言。當程式使用 malloc() 或 free() 等函數動態分配和釋放記憶體...
DAY 7 試題
問題描述
給定一個字串 s,請返回字串中回文子字串的數量。回文是指從前往後和從後往前讀取結果相同的字串,而子字串是字串中的連續字符序列。
範...
🟨編輯距離
本題取自 Leetcode 72. Edit Distance
題目
Given two strings word1 and word2, retu...
2024/09/28 Leetcode Daily Porblem
641. Design Circular Deque難度: 中等
題意
實作一個雙向佇列的類...