2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 22
2024-09-03
517
0
今天來記錄一下二分法搜尋吧! 雖然這類型相關的題目在還沒正式認識二分法搜尋之前,"盲寫"也解得出來,不過還是做個記錄吧! Binary S...
Day 15
2024-09-29
514
0
DAY 15 試題 問題描述 在這個問題中,我們需要設計一個算法來將一個字串列表編碼為單個字串,並能夠透過網路傳送該編碼後的字串,再解碼回原始的字串列表。這意...
這題是設計一個資料結構,來動態地保持一組資料的第 K 大元素。這是典型的資料流問題,尤其適合使用堆來進行處理。 題目: 給定一個整數陣列 nums 和一個整數...
Day 26
2024-09-07
512
0
Given an unsorted integer array nums. Return the smallest positive integer that...
Day 27
2024-09-08
512
0
Given an integer array nums of length n where all the integers of nums are in t...
Day 30
2024-09-11
511
0
Given the head of a singly linked list and two integers left and right where le...