2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
原文題目 You are a professional robber planning to rob houses along a street. Each h...
今天來解YKL02(UVA10783):Odd Sum 題目 會給a和b,要output a到b之間基數的合 Code #include <iostre...
題目要我把重疊的區間合併並返回不重疊的區間。了解題目要求:題目給一組區間,每個區間包含起點和終點,目的是把所有 重疊 區間合併,合併後的區間不能重疊,最後要返回...
這題要在一個 m x n 的棋盤上,找到被 'X' 圍住的區,並把區域裡的 'O' 轉成 'X',重點在區域的邊界條件,就是所有不能被包圍的 'O' 一定在邊界...
Day 24
2024-10-08
255
0
You are given an integer array nums and an integer k. You may partition nums int...
Day 27
2024-09-27
255
0
2024/09/27 Leetcode Daily Problem 731. My Calendar II難度: 中等 題意 如同昨天的[9/26] 查詢區間,...