2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 757
Write an algorithm to determine if a number n is happy.A happy number is a numb...
28. Find the Index of the First Occurrence in a String 題目描述: 給定兩個字符串 haystack 和...
876. Middle of the Linked List tags: Easy、Linked List Given the head of a singl...
Day 18
2024-08-18
197
0
MediumRelated Topics: Hash Table / Math / Dynamic Programming / Heap (Priority...
今天延續上一個主題--雙指針,前面僅介紹了雙指針的左右指針,另外一種 -- 快慢指針,今天會搭配Floyd Cycle Detection Algorithm(...
203. Remove Linked List Elements tags: Easy、Linked-List Given the head of a lin...