摘要: [LeetCode] 73. Set Matrix Zeroes 题目 Given an m x n integer matrix matrix, if an element is 0, set its entire row and column to 0's, and return the mat 阅读全文
posted @ 2021-10-21 21:18 沐灵_hh 阅读(18) 评论(0) 推荐(0) 编辑
摘要: [LeetCode] 42. Trapping Rain Water 题目 Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much w 阅读全文
posted @ 2021-10-21 21:08 沐灵_hh 阅读(23) 评论(0) 推荐(0) 编辑
摘要: [LeetCode] 41. First Missing Positive 题目 Given an unsorted integer array nums, return the smallest missing positive integer. You must implement an alg 阅读全文
posted @ 2021-10-21 20:54 沐灵_hh 阅读(23) 评论(0) 推荐(0) 编辑
摘要: [LeetCode] 71. Simplify Path 题目 Given a string path, which is an absolute path (starting with a slash '/') to a file or directory in a Unix-style file 阅读全文
posted @ 2021-10-21 20:39 沐灵_hh 阅读(24) 评论(0) 推荐(0) 编辑
摘要: [LeetCode] 148. Sort List 题目 Given the head of a linked list, return the list after sorting it in ascending order. Example 1: Input: head = [4,2,1,3] 阅读全文
posted @ 2021-10-21 20:32 沐灵_hh 阅读(14) 评论(0) 推荐(0) 编辑
摘要: [LeetCode] 239. Sliding Window Maximum 题目 You are given an array of integers nums, there is a sliding window of size k which is moving from the very l 阅读全文
posted @ 2021-10-21 20:27 沐灵_hh 阅读(24) 评论(0) 推荐(0) 编辑