Dynamic Programming

Interview questions of dynamic programming of leetcode

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

Dynamic Planning - Example 6. Polygon Game

1. Title Description A Polygon game is a one-...
14:29 1 December 2021

Dynamic Planning - Example 7. Image Compression

1. Title Description A digitized image is an n*n array of pixels. Assuming that each pixel has a gray value of 0-255, it...
16:32 30 November 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

Dynamic programming --- example 6. Polygon game

1, Title Description Polygon game is a single...
20:16 1 November 2021

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

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

Summary of algorithm and question types of dynamic programming

Dynamic Programming (DP) It is understood that a large pr...
1:44 23 October 2021

kuangbin_ac automata

preface k u a n g b i n kuangbin kuangbin's ...
15:20 21 September 2021

Three programming questions of Huawei autumn machine test (2021-09-08)

Notice: HUAWEI, Ali's latest autumn test written test questions, ideas and reference codes have been arranged well in We...
19:34 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

Dynamic programming -- Examples

Problem solving ideas of dynamic planning: There are four steps: 1 create a new one-dimensional array or two-dimensional...
21:10 7 September 2021