摘要:
[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 阅读全文
摘要:
[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 阅读全文
摘要:
[LeetCode] 41. First Missing Positive 题目 Given an unsorted integer array nums, return the smallest missing positive integer. You must implement an alg 阅读全文
摘要:
[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 阅读全文
摘要:
[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] 阅读全文
摘要:
[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 阅读全文