09-09 leetcode-0377

链接 377. Combination Sum IV 题目Given an array of distinct integers nums and a target integer target, return the number of poss...

2023

09-08 leetcode-0118

链接 118. Pascal’s Triangle 题目Given an integer numRows, return the first numRows of Pascal’s triangle. 题解某种意义上算一个最开始的 DP ?我猜( ...

2023

09-07 leetcode-0092

链接 92. Reverse Linked List II 题目Given the head of a singly linked list and two integers left and right where left <= righ...

2023

09-06 leetcode-0725

链接 725. Split Linked List in Parts 题目Given the head of a singly linked list and an integer k, split the linked list into k c...

2023

09-05 leetcode-0138

链接 138. Copy List with Random Pointer 题目A linked list of length n is given such that each node contains an additional random...

2023

09-04 leetcode-0141

链接 141. Linked List Cycle 题目Given head, the head of a linked list, determine if the linked list has a cycle in it. There is ...

2023

09-03 leetcode-0062

链接 62. Unique Paths 这个月又是 DP 专场? 题目There is a robot on an m x n grid. The robot is initially located at the top-left corner ...

2023

09-02 leetcode-2707

链接 2707. Extra Characters in a String Medium 的 DP 题 题目You are given a 0-indexed string s and a dictionary of words dictionar...

2023

09-01 leetcode-0338

链接 338. Counting Bits 简单题,直接写 题目:Given an integer n, return an array ans of length n + 1 such that for each i (0 <= i &lt...

2023

08-30 leetcode-1326

链接 1326. Minimum Number of Taps to Open to Water a Garden 又是一个 Hard,还是一个贪心 Hard,麻了 题目There is a one-dimensional garden on th...

2023
1…3456

站内搜索

没有找到内容!