Detailed traversal of graph (breadth first and depth first)

The algorithm practice of data structure is for homework. I chose the traversal of the graph, because I feel that it will be more clear about the relevant algorithms than other topics. This article is written to make everyone more clear about the traversal algorithm of the graph, and also to review their relevant knowledge again, so as to help ...

Added by yeshuawatso on Wed, 05 Jan 2022 06:22:43 +0200

BombLab experiment of CSAPP

This article records the process of doing Bob experiment. The dormitory is closed these days. You can't go out except doing nucleic acid every day. It takes just a week to dismantle a bomb every day. First, use objdump - D Bob > Bob Txt to get the disassembly code. View Bob Phase in C file_ 1 to phase_ 6 input functions, corresponding to 6 ...

Added by nsbrown on Wed, 05 Jan 2022 05:10:05 +0200

C language curriculum design simple word learning system

I helped my brother write a simple lesson design topic. The time is limited (two hours). Please be careful, hehe catalogue Zero. Subject requirements 1, Import function library, definition structure and function declaration 2, First level menu function 3, Secondary menu function 1. Thesaurus update system 2. Learning system 4, Function ...

Added by elnino on Wed, 05 Jan 2022 03:15:49 +0200

6C Language Operator

Operators and Expressions Operator Classification: Arithmetic operatorShift operatorsBitwise operatorsAssignment operatorunary operatorRelational OperatorsLogical OperatorConditional Operatorcomma expressionThe structure members of the following table references, function calls Arithmetic operator + - * / % All but%can be used for operat ...

Added by flight553 on Wed, 05 Jan 2022 01:42:02 +0200

Computer experiment of data structure (Chapter 2) II

Bibliography: data structure course (Fifth Edition), edited by Li Chunbao Computer experiment of data structure (Chapter II) I Time complexity: Find elements with sequence number i(1 ≤ i ≤ n)Find the first element with a value of xInsert a new element as the first elementInsert the new element as the last elementInsert the i(2 ≤ i &l ...

Added by wee493 on Wed, 05 Jan 2022 01:13:18 +0200

5, ♥ ☆ smart Bracelet based on STM32 √★☆

5, ♥ ☆ smart Bracelet based on STM32 √★☆ 💙💙 Introduction With the development of society, people's material living standards are improving day by day, and people are paying more and more attention to their health. As a measuring instrument, the pedometer can calculate the number of walking steps and the energy consumed, ...

Added by crackfox on Tue, 04 Jan 2022 21:47:30 +0200

Codeup1000000634 question B: P2 count words

Title Description: Count the number of words (stat.cpp/c/pas) General text editors have the function of finding words. This function can quickly locate the position of specific words in the article, and some can count the times of specific words in the article. Now, please program to realize this function. The specific requirements are: given ...

Added by Lars Berg on Tue, 04 Jan 2022 11:56:05 +0200

C programming (Tan Haoqiang version) Chapter II after class exercises

1. There are two bottles A and B, which contain vinegar and soy sauce respectively. It is required to exchange them (that is, bottle A was originally filled with vinegar, but now it is changed into soy sauce, and bottle B is the opposite) Obviously, if only two bottles are not enough, a third empty bottle C needs to be added The steps are as ...

Added by lorddraco98 on Tue, 04 Jan 2022 11:50:24 +0200

Bidirectional circular linked list of Linux kernel data structure_ head

catalogue summary List in kernel_ Implementation of head 1.list_head structure 2.list_ Operation implemented by head 3.list_entry macro list_ Use of head epilogue summary The two-way circular linked list in Linux kernel is realized by separating abstract structure and data, that is, abstract linked list_head is embedded in the data st ...

Added by TheKiller on Tue, 04 Jan 2022 08:58:30 +0200

Using DMA mode, SPI drives the ST7789H2 LCD screen on Aliyun Things

preface 1: Driver reference from https://blog.csdn.net/BearPi/article/details/104311705.: 2: This is one of my records. I don't realize many functions. I just move a piece of video memory opened up in memory to the screen by DMA. 3: I didn't do anything during DMA handling, just gave him a delay to finish. In practical application, the semapho ...

Added by MikeUK on Tue, 04 Jan 2022 06:56:58 +0200