倪春恩的博客
09
15
lc-206 lc-206
/** Given the head of a singly linked list, reverse the list, and return the reversed list. Example 1: Input:
2022-09-15
14
lc-200 lc-200
/** Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0 's (water), return the number of isl
2022-09-14
13
lc-198 lc-198
/** You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stash
2022-09-13
09
lc-169 lc-169
/** Given an array nums of size n, return the majority element. The majority element is the element that appears more
2022-09-09
08
lc-160 lc-160
/** Given the heads of two singly linked-lists headA and headB, return the node at which the two lists intersect. If th
2022-09-08
07
lc-155 lc-155
/** Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. Implement the
2022-09-07
06
lc-152 lc-152
/** Given an integer array nums, find a contiguous non-empty subarray within the array that has the largest product, an
2022-09-06
05
lc-148 lc-148
/** Given the head of a linked list, return the list after sorting it in ascending order. Example 1: Input: he
2022-09-05
05
lc-146 lc-146
/** Design a data structure that follows the constraints of a Least Recently Used ( LRU) cache. Implement the LRUCache
2022-09-05
01
lc-142 lc-142
/** Given the head of a linked list, return the node where the cycle begins. If there is no cycle, return null. Ther
2022-09-01
08
31
lc-141 lc-141
/** Given head, the head of a linked list, determine if the linked list has a cycle in it. There is a cycle in a lin
2022-08-31
30
lc-139 lc-139
/** Given a string s and a dictionary of strings wordDict, return true if s can be segmented into a space-separated sequ
2022-08-30
37 / 41