405. Convert a Number to Hexadecimal 405. Convert a Number to Hexadecimal 💡這個題目有一個知識點需要先複習:「二補數」 class Solution:
2095. Delete the Middle Node of a Linked List 2095. Delete the Middle Node of a Linked List # Definition
747. Largest Number At Least Twice of Others 747.Largest Number At Least Twice of Others 這一題是一個簡單的題目,解題的主要邏輯:
1466. Reorder Routes to Make All Paths Lead to the City Zero 1466. Reorder Routes to Make All Paths Lead to the
643. Maximum Average Subarray I 643. Maximum Average Subarray I 題目不難,但是小細節很多,最差的情況是靠窮舉所有的項目來查看。 這個題目主要的考點是滑動窗口,是不是有辦法可以慢慢地控制好。
1456. Maximum Number of Vowels in a Substring of Given Length 1456. Maximum Number of Vowels in a Substring of Given
2336. Smallest Number in Infinite Set 2336. Smallest Number in Infinite Set 這個題目滿有趣的,側重在邏輯處理的部分,寫 code