iT邦幫忙

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

技術 [8/26] N-ary Tree Postorder Traversal

EasyRelated Topics: Stack / Tree / Depth-First SearchLeetCode Source 解題想法 後序尋訪...

8月 LeetCode Daily 見聞錄 系列 第 25

技術 [8/25] 145. Binary Tree Postorder Traversal

EasyRelated Topics: Stack / Tree / Depth-First Search / Binary TreeLeetCode Sou...

8月 LeetCode Daily 見聞錄 系列 第 24

技術 [8/24] 564. Find the Closest Palindrome

Hard Related Topics: Math / StringLeetCode Source 解題想法 在這個問題中,給定一個代表整數的字串 n,我們...

8月 LeetCode Daily 見聞錄 系列 第 23

技術 [8/23] 592. Fraction Addition and Subtraction

MediumRelated Topics: Math / String / SimulationLeetCode Source 解題想法 首先我們要定義分子...

8月 LeetCode Daily 見聞錄 系列 第 22

技術 [8/22] 476. Number Complement

EasyRelated Topics: Bit ManipulationLeetCode Source 解題想法 十進位數字轉成二進制 之後將1轉成0 將0...

8月 LeetCode Daily 見聞錄 系列 第 21

技術 [8/21] 664. Strange Printer

HardRelated Topics: String / Dynamic ProgrammingLeetCode Source 解題想法 這道題目是關於計算...

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、函數、指令檔或可執行程式的名稱。請檢查名稱拼字...