C data structure and algorithm - Basic arrangement - figure-03 - cross linked list, adjacent multiple tables

Code to realize cross linked list and adjacency multiple list 0x01. Cross linked list Origin: Adjacency table is only suitable for judging the relevant information of a vertex's outgoing degree, while inverse adjacency table is only suitable for judging the relevant information of incoming degree. ...

Posted by gte604j on Sat, 15 Feb 2020 20:39:35 -0800

Simple oscilloscope (library function) based on stm32

brief introduction This case is a simple oscilloscope based on the positive point atomic elite board, which can read the frequency and amplitude of the signal, and can change the sampling frequency and the update pause of the control screen by pressing the key. It's also adapted by learning from the e ...

Posted by AShain on Sat, 15 Feb 2020 20:16:18 -0800

Luogu P1742 minimum circle cover

Problem surface Given N points, let's draw the smallest circle that contains all the points. Analysis This problem is actually to find out a circle determined by three points, which can contain all other points. There is a close relationship with three points in a circle. First, three points in a ci ...

Posted by lachild on Sat, 15 Feb 2020 20:04:58 -0800

Python Learning Notes file operation

Python learning notes (17) file operation 1, Concept and function of file operation Thinking: what does file operation include? Answer: open, close, read, write, copy Thinking: what is the function of document operation? Answer: read content, write content, backup content 2, Basic operation of ...

Posted by BrianWald on Sat, 15 Feb 2020 19:41:16 -0800

Dijkstra of the shortest path of graph -- pseudo code, complete implementation code (adjacency matrix, adjacency table), examples and problem points

1 Dijkstra (single source shortest path problem) 1.1 minimum distance 1.1.1 pseudo code //Figure G is generally set as a global variable; Array d is the shortest path length from the source point to each point, and s is the starting point Dijkstra(G, d[], s){ Initialization for (n cycles) ...

Posted by tisa on Sat, 15 Feb 2020 19:36:13 -0800

RPC - preparation phase

It is a technology that requests services from remote computer programs through the network without understanding the underlying network Complete RPC network call process Service consumer: call the client stub in the local call mode; What is a client stub? Even if the remote method is in the local simu ...

Posted by robman2100 on Sat, 15 Feb 2020 18:49:13 -0800

Introduction to yum package management

rpm can realize fast and simple installation of programs (compared with compilation and installation), but rpm can't solve dependency by itself, so many tools come into being to solve dependency automatically, among which yum is one of them. yum solution to dependency: There must be a file server where all the rpm packages and the package rel ...

Posted by jiggens on Sat, 15 Feb 2020 18:47:48 -0800

ACM week 3

When the trees are withered, they are no longer flourishing. They are young and cherish the people beside the mirror This week's question is a little difficult, I adjusted several of them to do it; 1 Define a 2D array: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, ...

Posted by Merdok on Sat, 15 Feb 2020 18:23:21 -0800

Ambari Custom Service 1 - Introduction

background Ambari is a powerful big data cluster management platform. In practice, the big data components we use are not limited to those provided on the official website. How to integrate other components in ambari? Stacks & Services Stack is a collection of services. You can define multiple ...

Posted by NorthWestSimulations on Sat, 15 Feb 2020 18:13:52 -0800

[Python Crawler] 8. Selenium and PhantomJS for Dynamic HTML Processing

Summary of Expiration: [Python Crawler] 1. Requests and Responses of HTTP and HTTPS of Crawler Principles [Python Crawler] 2. Definition, classification, flow and encoding format of crawler principles [Python Crawler] 3. Requests HTTP Library for Data Grabbing [Python Crawler] 4. Fiddler, ...

Posted by digitalecartoons on Sat, 15 Feb 2020 18:03:25 -0800