leetcode

Interview questions of dynamic programming of leetcode

1. Maximum sum of continuous subarrays Enter an integer a...
19:47 4 December 2021

The sixth sort -- quick sort

void quickSort(vector<int>& v, int left, int right) { if (left >= right)return; int pirot = v[right]; int l...
8:58 28 November 2021

LeetCode 1320. The second refers to the minimum distance of input -- Dynamic Programming -- interval DP

The second refers to the minimum distance entered The layout of the two finger input method customized keyboard on the ...
17:24 26 November 2021

Counting method based on LeetCode algorithm

catalogue 1748. Sum of unique ele...
10:52 26 October 2021

leetcode brush record day033:203 and 160

203. Simple difficulty: Method 1: Original: new linked list Principle: first, create two new nodes, one as the answer ch...
3:49 26 October 2021

Sword finger Offer 19. Detailed problem solution of regular expression matching

Sword finger Offer 19. Regular expression matching ...
16:14 23 October 2021

Rotating array algorithm

1, Title Given an array, move the elements in the array to the right k k k locations, where k k k is a nonnegative numbe...
22:55 15 October 2021

2021.9.12 Week Race (Greed + Priority Queue + Binary Answer)

Catalog Array Splitting (Differential + Greedy) Selfish G...
12:02 14 September 2021

leetcode 5869. Maximum product of two palindrome subsequence lengths [shape pressure DP]

Give you a string s. please find two disjoint palindrome subsequences in s to maximize the product of their lengths. Two...
16:02 12 September 2021