One handed kill through classic linked list question Pt 3 - LeetCode ladder crossing robbery

Traditional artistic ability ūüėé Xiaobian is a freshman with double non undergraduate courses. I won't repeat it. You are welcome to give advice (QQ: 1319365055) Previous blogs Point me! Point me! Please search blogger [know the blue of the sky] Joe Joe's gitee code base (grey man) Welcome to visit, click me! ūüéČūüéČ Non Keban transcoding commun ...

Posted by khaldryck on Mon, 04 Apr 2022 07:37:10 +0300

Arduino / * Sensor usage guide

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it preface 1, Key module (HW-483) 1. Circuit connection This is a pattern of pull-up resistance. When the key is not pressed at ordinary times, Pin0 is normally at high level, and the pr ...

Posted by benyhanna on Mon, 04 Apr 2022 06:59:16 +0300

STM32 serial port experiment

Before, I realized the running lamp, buzzer and button. After that, I didn't have time. After the Qingming holiday, I continued to practice. The serial port is still used in this experiment. First, the pin of serial port 1 corresponds to PA9 and PA10 Then it is necessary to start 2 bits of clock APB2 of GPIOA Then you need to start bit 14 ...

Posted by alkhatareykha on Sun, 03 Apr 2022 16:34:27 +0300

Lecture 2: process control

Process control I What is process control Sequence of program code execution II Classification of process control 1. Sequential execution 2. Select execute 3. Circular execution Description: select execution definition Some codes may or may not be executed, and some codes are selectively executed classification if statement 1. The s ...

Posted by idris on Sun, 03 Apr 2022 12:00:50 +0300

Implementation of < data structure > stack

catalogue preface        Concept of stack        Stack structure Implementation of stack        Create stack structure        Initialization stack        Destroy stack        Push        Out of stack        Get stack top element        Get the number of valid elements in the stack        Check whether the stack is empty Total code ...

Posted by Repgahroll on Sun, 03 Apr 2022 11:21:08 +0300

Summary of AWTK custom control development -- Jiugongge password control

preface          [AWTK]( https://github.com/zlgopen/awtk )The full name of Toolkit AnyWhere is an open source GUI engine developed by ZLG. It aims to build a general GUI engine for embedded systems, WEB, various applets, mobile phones and PC s, and provide users with a powerful, efficient, reliabl ...

Posted by NeilB on Sat, 02 Apr 2022 21:07:19 +0300

Custom type structure, enumeration, Union (common body)

Structure; Structure type Structure classification Structure variable definition and initialization Structural transmission parameters Structural position segment Enumeration; Enumeration type definition Enumeration advantages Enumeration use Joint; Union type definition Joint characteristics Joint size calculation Structure dec ...

Posted by abduljan on Sat, 02 Apr 2022 16:18:36 +0300

va_start(ap,fmt),explicit,const

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it preface With the learning of C + +, questions also appear one after another. 1, va_start(ap,fmt),explicit,const 1.va_start(ap,fmt); c can handle variable length parameters, such as ...

Posted by CodeEye on Sat, 02 Apr 2022 16:09:11 +0300

Math problems - study notes

Simple mathematics pat b1019 digital black hole Given any four digit positive integer whose digits are not exactly the same, if you first sort the four digits in non increasing order, then sort them in non decreasing order, and then subtract the second digit from the first digit to get a new digit. If you keep doing this, you will soon stop a ...

Posted by mlschutz on Sat, 02 Apr 2022 12:29:55 +0300

Array and pointer of C language function call

Array: an array is a continuous memory space used to store multiple identical data types, and its array name represents the first address of this spacePointer: pointer is also a variable, but unlike other variables, it stores the first address of another section of memory Here, we need to note that the array name is the first address of the a ...

Posted by TMX on Sat, 02 Apr 2022 09:44:00 +0300