網頁

2026年6月18日 星期四

LeetCode 1344 分針時針夾角:0ms 一行秒殺 (C++/Python)


0ms| 1-liner C++ Py3|1344. Angle Between Hands of a Clock
應徵程式設計師,也會問小學數學,不用懷疑。
-----
When applying for a programmer position, they'll ask you elementary school math questions, no doubt about it.

#leetcode #1liner  #cplusplus  #python #leetcode1344
[Py3 1-liner請進]

2026年6月16日 星期二

C, Py3, C++解Leetcode 3612 與難題3614 Process String with Special Operations


C Py3 C++解Leetcode 3612 與難題3614 Process String with Special Operations
一個字串問題Leetcode 3612,用C++或Python是易如反掌,用C語言就難多了,然而這個解題經驗,順便用來解所謂hard 3614. Process String with Special Operations II