iT邦幫忙

python3相關文章
共有 1020 則文章
8月 LeetCode Daily 見聞錄 系列 第 20

技術 [8/20] 1140. Stone Game II

MediumRelated Topics: Array / Math / Dynamic Programming / Prefix Sum / Game Th...

鐵人賽 Kubernetes DAY 19

技術 [Day 19] K8S Lab - 基於 MS COCO 的圖像分類系統 (2)

在這篇文章中,我們將介紹如何使用 ResNet18 模型訓練 COCO MS 資料集,並將訓練好的模型儲存為 model.pth,以供未來網頁的影像辨識使用。...

8月 LeetCode Daily 見聞錄 系列 第 19

技術 [8/19] 650. 2 Keys Keyboard

MediumRelated Topics: Math / Dynamic ProgrammingLeetCode Source 解題想法 題目要求我們找到最...

8月 LeetCode Daily 見聞錄 系列 第 18

技術 [8/18] 264. Ugly Number II

MediumRelated Topics: Hash Table / Math / Dynamic Programming / Heap (Priority...

8月 LeetCode Daily 見聞錄 系列 第 17

技術 [8/17] 1937. Maximum Number of Points with Cost

MediumRelated Topics: Array / Dynamic ProgrammingLeetCode Source 解題想法 暴力解的話,會使...

8月 LeetCode Daily 見聞錄 系列 第 16

技術 [8/16] 624. Maximum Distance in Arrays

MediumRelated Topics: Array / GreedyLeetCode Source 解題想法 題目唯一要注意的點就是 arrays 最大...

8月 LeetCode Daily 見聞錄 系列 第 15

技術 [8/15] 860. Lemonade Change

EasyRelated Topics: Array / GreedyLeetCode Source 解題想法 題目主要是希望透過 5 10 20 來交易價值...

8月 LeetCode Daily 見聞錄 系列 第 14

技術 [8/14] 719. Find K-th Smallest Pair Distance

HardRelated Topics: Array / Two Pointers / Binary Search / SortingLeetCode Sour...

8月 LeetCode Daily 見聞錄 系列 第 13

技術 [8/13] 40. Combination Sum II

MediumRelated Topics: Array / BacktrackingLeetCode Source 解題想法 首先透過 sort 把 can...

8月 LeetCode Daily 見聞錄 系列 第 12

技術 [8/12] 703. Kth Largest Element in a Stream

EasyRelated Topics: Tree / Design / BST / Heap (Priority Queue) / BT / Data Str...

8月 LeetCode Daily 見聞錄 系列 第 11

技術 [8/11] 1568. Minimum Number of Days to Disconnect Island

HardRelated Topics: Array / DFS / BFS / Matrix / Strongly Connected ComponentLe...

8月 LeetCode Daily 見聞錄 系列 第 10

技術 [8/10] 959. Regions Cut By Slashes

MediumRelated Topics: Array / Hash Table / DFS / BFS / Union Find MatrixLeetCod...

技術 [8/9] 840. Magic Squares In Grid

MediumRelated Topics: Array / Hash Table / Math / MatrixLeetCode Source 解題想法 整...

技術 [8/8] 885. Spiral Matrix III

MediumRelated Topics: Array / Matrix / SimulationLeetCode Source 解題想法 首先設定每次尋訪...

技術 [8/7] 273. Integer to English Words

HardRelated Topics: Hash Table / String / Greedy / Sorting / CountingLeetCode S...

技術 [8/6] 3016. Minimum Number of Pushes to Type Word II

MediumRelated Topics: Hash Table / String / Greedy / Sorting / CountingLeetCode...

技術 [8/5] 2053. Kth Distinct String in an Array

EasyRelated Topics: Array / Hash Table / String / CountingLeetCode Source 解題想法...

技術 [8/4] 1508. Range Sum of Sorted Subarray Sums

MediumRelated Topics: Array / Two Pointers / Binary Search / SortingLeetCode So...

技術 [8/3] 1460. Make Two Arrays Equal by Reversing Subarrays

EasyRelated Topics: Array / Hash Table / SortingLeetCode Source 解題想法 基本上就是判斷說兩...

技術 [8/2] 2134. Minimum Swaps to Group All 1's Together II

MediumRelated Topics: Array / Sliding WindowLeetCode Source 解題想法 我們首先遍歷數組來計算1的...

鐵人賽 Security DAY 1

技術 白帽駭客工具實作02 - [環境及開發工具安裝]Kali Linux、Python3、PyCharm

安裝Kali Linux 在安裝Kali Linux之前,請各位讀者先行安裝VirtualBox或VMWare,本節將以VMWare作為安裝範例。 以瀏覽器...

技術 [8/1] 2678. Number of Senior Citizens

EasyRelated Topics: Array / StringLeetCode Source 解題想法 在 details 的陣列中,總長 15,計算...

技術 有關 無法辨識 ‘pip’ 詞彙 的解決方法!!!

應該不少人在安裝python之後都遇到了需要pip時,CMD會輸出無法辨識 ‘pip’ 詞彙是否為 Cmdlet、函數、指令檔或可執行程式的名稱。請檢查名稱拼字...

技術 [分享源碼]Python台銀月底收盤評價匯率

說明此程式碼的應用情境:用工作排程器將經過pyinstaller打包後的此程式設定為每月月底16:30時執行即可自動將選定幣別的每月最後營業日的匯率上傳至指定的...

技術 [LeetCode] 13. Roman to Integer

MediumRelated Topics: Hash Table / Math / StringLeetCode Source 解題想法 LeetCode...

技術 [LeetCode] 42. Trapping Rain Water

HardRelated Topics: Array / Two Pointers / Dynamic Programming / Stack / Monoto...

技術 [LeetCode] 135. Candy

HardRelated Topics: Array / GreedyLeetCode Source 解題想法 首先先確認 len(ratings),如果小於...

技術 [LeetCode] 134. Gas Station

MediumRelated Topics: Array / GreedyLeetCode Source 解題想法 這題是看之前解的方法 Python cl...