Thinking StructureNeutral Tonality-CF1894D

Neutral Tonality-CF1894D Translation Given a n n Array of n integers a a a, and a m m An array of m integers b b b. LIS ( c ) \text{LIS}(c) LIS(c) represents an array c c The length of the longest increasing subsequence of c. For example, LIS ( [ 2 , 1  ̄ […]

iOS in-app packet capture, NSURLProtocol intercepts network requests within APP

Foreword When developing, you need to obtain data in the SDK. Since you cannot see the code, you can only monitor all network request data and intercept the corresponding return data. This can be achieved through NSURLProtocol, and can also be used to interact with H5. 1. NSURLProtocol intercepts requests 1. Introduction to NSURLProtoco Official […]

Codeforces Round 908 (Div. 2) (A~E) (all thinking questions)

1894A – Secret Sport Question meaning: A and B are playing a gambling game. One of the games is divided into X small games. After winning Y big games, the final victory is achieved and the game ends (X, Y are unknown). Given a sequence containing only the letters A and B, it represents A […]

What modules in python do you think are awesome?

When doing data analysis before, I used a Python library that automatically generates data exploration reports: ydata_profiling Generally, we will conduct data exploration before doing data processing, including looking at statistical distributions, visual charts, data quality, etc. This process will consume a lot of time and may require hundreds of lines of code to implement. […]

Timing flash and PWM breathing light based on STM32 standard library

PWM breathing light based on STM32 standard library Article directory PWM breathing light based on STM32 standard library 1. Introduction to STM32 timing function 2. Introduction to PWM functions 3. Create project 4. Realization of LED flashing and extinguishing regularly 4.1 Code ideas 4.2 Configuration code 4.3 Burning results 5. PWM configuration function analysis 5.1 […]

Python’s 5 super practical skills, there are definitely things you can’t think of!

Article directory Preface 1. Dictionary comprehensions and Set comprehensions 2. Use Counter counting object when counting 3. Beautifully print out JSON 4. Create small, one-off, fast web services 5. Python’s amazing open source community About Python technical reserves 1. Learning routes in all directions of Python 2. Python basic learning video 3. Excellent Python learning […]

Breathing light (pwm) based on STM32

Directory 1. Principle 1. STM32 timer principle 2. PWM on STM32 2. CubeMX configuration project (breathing light) 1. Set up RCC 2. Configure SYS 3. Configure timer 4. Generate project files 3. Keil (breathing light) 1. Observe PWM waveform with Keil virtual oscilloscope 2.main.c 4. Breathing light and PWM output signal 1. HAL library modification […]