--- tags: Mentocamp3 刷題讀書會 --- # 2024/04/16(二) 21:00 LeetCode ## 題目 - [121. Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/) - 此提 NeetCode 分類為 Sliding Window - 等級 Easy,也是 [Blind 75](https://neetcode.io/practice) 系列 - 刻意練習 Arrays & Dynamic Programming > ## 會後Keynote (大家有用到的方法) > ### Python > - Array > - float('inf'):Python 3.5 以後,在 math 定義了 inf。表示無限大 > - max(a,b) > ### Javascript > - Array > - Math.max() ## 回報格式 - 自行開設 [Replit](https://replit.com/~) 將程式碼貼上後,分享網址。 - 程式語言可以使用 Python 或 Javascript。 解題分享區 --- #### 讀書會議流程: 1. 題目說明 2. 題目解析 4. 成員分享解題思路 5. 問題與討論 #### 回報區 : <No.1> Anna Replit:https://replit.com/@AnnaChu1/121-Best-Time-to-Buy-and-Sell-Stock#main.py <No.2> 宗承 Replit: https://replit.com/@love970120/121-Best-Time-to-Buy-and-Sell-Stock?v=1 <No.3>lin Replit:https://replit.com/@shower112024/121-Best-Time-to-Buy-and-Sell-Stock#main.py <No.4>阿媜 Replit:https://replit.com/@selena60635/121-Best-Time-to-Buy-and-Sell-Stock#index.js <No.5>Alvin https://replit.com/@yangalvin207/20240416Er-2100-LeetCode#main.py ...依序貼上