LeetCode 2639. Find the Width of Columns of a Grid
雙周賽102。好像很多人被0的長度搞到,算是小陷阱。
雙周賽102。好像很多人被0的長度搞到,算是小陷阱。
周賽339。和上週的Q4有點類似,都會重複訪問到同一個位置數次,需要用一些方法優化。
周賽339。python內建二分函數真的很好用,大概可以省下一分鐘的打字時間。
周賽339。跟前幾次周賽Q3很像,這題放到Q2好像不太友善。
周賽339。難得Q1的數字這麼大,搞到質數篩直接TLE,太誇張了。 聽說有不少人沒有把1當成質數吃了WA。說起來我的模板也沒有判斷到這點,趕緊去更新。