12 2021 档案

摘要:今天刷了一题之后,LeetCode 官方给了我一个 2021 年的年度勋章以鼓励我今年超过 300 天有提交。 希望每个刷题的你都一起加油! 阅读全文
posted @ 2021-12-28 10:24 CNoodle 阅读(520) 评论(0) 推荐(0)
摘要:Given a Tic-Tac-Toe board as a string array board, return true if and only if it is possible to reach this board position during the course of a valid 阅读全文
posted @ 2021-12-10 13:35 CNoodle 阅读(95) 评论(0) 推荐(0)
摘要:Given an n x n grid containing only values 0 and 1, where 0 represents water and 1 represents land, find a water cell such that its distance to the ne 阅读全文
posted @ 2021-12-05 14:36 CNoodle 阅读(177) 评论(0) 推荐(0)
摘要:You are starving and you want to eat food as quickly as possible. You want to find the shortest path to arrive at any food cell. You are given an m x 阅读全文
posted @ 2021-12-05 12:39 CNoodle 阅读(1263) 评论(0) 推荐(0)
摘要:Given an integer array nums and an integer k, modify the array in the following way: choose an index i and replace nums[i] with -nums[i]. You should a 阅读全文
posted @ 2021-12-04 01:26 CNoodle 阅读(84) 评论(0) 推荐(0)
摘要:Given an array of integer arrays arrays where each arrays[i] is sorted in strictly increasing order, return an integer array representing the longest 阅读全文
posted @ 2021-12-01 14:28 CNoodle 阅读(218) 评论(0) 推荐(0)