Avatar

嗡嗡的隨手筆記

  1. 首頁
  2. 關於本站
  3. 站長ㄉ書
  4. 搜尋
  5. 所有文章
  6. 分類
  7. 標籤
  8. 關於站長
  9. 聯絡站長
  10. 支持本站

    所有文章

    全部文章 791
    2026 2
    2024 10
    2023 71
    2022 350
    2021 235
    更多
    710 - Python LeetCode

    【Leetcode】python - [50] Pow(x, n) 個人解法筆記

    整理 LeetCode #50 Pow(x, n) — 快速冪指數折半、遞迴或迭代 O(log n)。

    Apr 05, 2022
    閱讀時間 1 分鐘
    Two Pointers (相向雙指針 →←) / Start, End (頭尾雙指針)

    【Leetcode】python - [162] Find Peak Element 個人解法筆記

    整理 LeetCode #162 Find Peak Element — 二分搜尋、每個位置找峰值、O(log n)。

    Apr 05, 2022
    閱讀時間 1 分鐘
    Featured image of post 【Leetcode】python - [852] Peak Index in a Mountain Array 個人解法筆記
    Two Pointers (相向雙指針 →←) / Start, End (頭尾雙指針)

    【Leetcode】python - [852] Peak Index in a Mountain Array 個人解法筆記

    整理 LeetCode #852 — two pointers, linked list、完整解法。

    Apr 05, 2022
    閱讀時間 1 分鐘
    Two Pointers (相向雙指針 →←) / Start, End (頭尾雙指針)

    【Leetcode】python - [153] Find Minimum in Rotated Sorted Array 個人解法筆記

    整理 LeetCode #153 Find Minimum in Rotated Sorted Array — 二分搜尋、判斷哪邊轉折。

    Apr 05, 2022
    閱讀時間 1 分鐘
    Featured image of post 【Lintcode】python - [447] Search in a Big Sorted Array 個人解法筆記
    Two Pointers (相向雙指針 →←) / Start, End (頭尾雙指針)

    【Lintcode】python - [447] Search in a Big Sorted Array 個人解法筆記

    整理 LeetCode #447 — two pointers, linked list、完整解法。

    Apr 05, 2022
    閱讀時間 2 分鐘
    Two Pointers (相向雙指針 →←) / Start, End (頭尾雙指針)

    【Leetcode】python - [658] Find K Closest Elements 個人解法筆記

    整理 LeetCode #658 — two pointers, binary search, sort、完整解法。

    Apr 05, 2022
    閱讀時間 1 分鐘
    Two Pointers (相向雙指針 →←) / Start, End (頭尾雙指針)

    【Leetcode】python - [278] First Bad Version 個人解法筆記

    整理 LeetCode #278 First Bad Version — 二分搜尋、boundary case 檢查。

    Apr 05, 2022
    閱讀時間 1 分鐘
    Two Pointers (相向雙指針 →←) / Start, End (頭尾雙指針)

    【Leetcode】python - [34] Find First and Last Position of Element in Sorted Array 個人解法筆記

    整理 LeetCode #34 Search for a Range — 二分搜尋左邊界+右邊界、兩次二分。

    Apr 01, 2022
    閱讀時間 2 分鐘
    Two Pointers (相向雙指針 →←) / Start, End (頭尾雙指針)

    【Lintcode】python - [458] Last Position of Target 個人解法筆記

    整理 LeetCode #458 — two pointers, binary search, sort、完整解法。

    Apr 01, 2022
    閱讀時間 1 分鐘
    Two Pointers (相向雙指針 →←) / Start, End (頭尾雙指針)

    【Lintcode】python - [14] First Position of Target 個人解法筆記

    整理 LeetCode #14 — two pointers, binary search、完整解法。

    Apr 01, 2022
    閱讀時間 1 分鐘
    1 333435363738394041 80
    © 2020 - 2026 嗡嗡的隨手筆記 v1.13.0
    使用 Hugo 建立
    主題 Stack 由 Jimmy 設計