datawhale algorithm and data structure day4-queue

datawhale algorithm and data structure (above) day4-queue Theoretical part 1. Queues Definition Instead of a stack, a queue is a linear first-in-first-out (FIFO).Insertions are allowed only at one end of the table and deletions of elements at the other end.In a queue, the end that allows insertio ...

Posted on Mon, 13 Jan 2020 19:29:03 -0500 by eagleweb

Algorithms Ring Chain List II

00141 Ring Chain List Title Description Given a list of chains, determine if there are rings in the list. Instance 1: Input: head = [3,2,0,-4], pos = 1 Output:true Interpretation: There is a ring in the chain table whose tail is connected to the second node. Example 2: Input: head = [1,2], pos = 0 Output:true Interpretation: There is a r ...

Posted on Mon, 13 Jan 2020 18:51:57 -0500 by Henks

Three suggestions for handling exceptions given by Java tycoon

Three suggestions for handling exceptions given by Java tycoon Origin: I happened to see the blog written by foreigners. After reading it, I think it's good. Share it. PS: Original address Oh no, don't do this to me... Chinese translation: Oh, please don't write like this // First: write a comment ...

Posted on Mon, 13 Jan 2020 07:28:56 -0500 by Bizzle

Slow code Python? Hands on how to speed up your code by 30%

Yun Qi Hao: https://yqh.aliyun.comThe first-hand cloud information, the selected cloud enterprise case base of different industries, and the best practices extracted from many successful cases help you to make cloud decision! Python has been loved by programmers all over the world, but it has been criticized by some people, one of the reaso ...

Posted on Mon, 13 Jan 2020 06:58:28 -0500 by Shagrath

Seven principles of JAVA design pattern -- the principle of dependency inversion

Article directory 1: Basic introduction 2: Notes and details on the principle of relying on reversal 1: Basic introduction Dependency inversion principle refers to: High level modules should not rely on low level modules, both of which should rely on their abstractions Abstraction should not de ...

Posted on Mon, 13 Jan 2020 05:24:38 -0500 by teamfox20

Using UAV (mobile phone) and Unity3D software to make their own VR panoramic software

*There are many panoramic websites and companies in the market. I will not list them here. I will Baidu VR and Panorama and so on will jump out a lot. * 1, Panoramic photo making 1. UAV makes panoramic photos 1.1 panoramic photo production of Dajiang UAV is completed by using one key 720 pano ...

Posted on Sun, 12 Jan 2020 23:39:19 -0500 by qwave

Talk about carrera's GroovyScriptAction

order This article focuses on carrera's GroovyScriptAction Action DDMQ/carrera-consumer/src/main/java/com/xiaojukeji/carrera/cproxy/actions/Action.java public interface Action { enum Status { FAIL, CONTINUE, FINISH, ASYNCHRONIZED } class UnsupportedDataType extends RuntimeException { } default Status act(UpstreamJo ...

Posted on Sat, 11 Jan 2020 11:46:06 -0500 by stanleycwb

Three traversal methods of binary tree (non recursive)

Binary tree is a kind of data structure. The structure of simple binary tree can be divided into left sub node, right sub node, and a pointer to data domain. The basic traversal methods of binary tree can be divided into four types, namely, pre order traversal, middle order traversal, post order travers ...

Posted on Sat, 11 Jan 2020 05:18:25 -0500 by angeljyt

Tsinghua Deng Junhui data structure learning notes - introduction, vector, list

Chapter one introduction (a) Calculation Good algorithm: correct (processing simple, large-scale, general, degenerate, legal input), robust, readable, efficient (fast, small storage space)Calculate cost T(n): the basic number of operations required to solve the problem with scale n. in all cases wit ...

Posted on Sat, 11 Jan 2020 04:54:33 -0500 by stanleybb

ESP32 and SX1278 communication

Communication between ESP32 and SX1278 to realize LoRa and wireless interconnection 1. Select LoRa Library 2. Implementation of LoRa Library 2.1 changing library functions 3. Programming 4. Operation results ESP32 and LoRa-R02 are products of anxinco. Hope to realize the communication from LoRa to ...

Posted on Sat, 11 Jan 2020 01:12:29 -0500 by HaVoC