LeetCode C++ 1861. Rotating the Box[Queue/Two Pointers]

You are given an m x n matrix of characters box representing a side-view of a box. Each cell of the box is one of the following: A stone '#'A stationary obstacle '*'Empty '.' The box is rotated 90 degrees clockwise, causing some of the stones to fall due to gravity. Each stone falls down until UTF-8...

Posted by bltesar on Tue, 18 May 2021 05:30:35 +0930

STL About Queue and priority_Some notes from queue

queue Queue is the queue, A FIFO container is mainly implemented in STL Use queue should first add header file #include queuename; queue Common Functions push(), enqueue x with time complexity of O(1) front(),back(), get the first and last elements respectively, time complexityUTF-8...

Posted by Harry57 on Thu, 20 May 2021 02:30:06 +0930

Interprocess communication - > message queue

Message queue is a list of messages stored in the kernel. Each message queue has an identifier (queue ID) to identify it. 1. Characteristics Message queues are record oriented, where messages have a specific format (content) and a specific priority (type). The message queue is controlled by theUTF-8...

Posted by toddg on Fri, 21 May 2021 06:24:14 +0930

Knowledge points for service testing

Since June 2020, more than 40 app s have been tested and handed over, during which there have been online accidents. Recently, we have reviewed all the online accidents of the company. The problems are as follows: 1. Thread blocking affects the main business; 2. The three-party interface does UTF-8...

Posted by mattgleeson on Thu, 27 May 2021 03:54:47 +0930

Characteristics and usage of C + + queue deque

Vector container is a continuous memory space with one-way opening, deque is a continuous linear space with two-way opening. The so-called two-way opening means that you can insert and delete elements at both ends of the head and tail. Of course, vector container can also insert elements at boUTF-8...

Posted by JWitness on Thu, 03 Jun 2021 04:25:38 +0930

Learn from RabbitMQ notes and personal summary

1, What is middleware? 1. Introduction Since the 1980s, Chinese enterprises have been gradually carrying out information construction. Due to the immaturity of methods and systems, as well as the continuous change of business and market demand, an enterprise may run multiple different business UTF-8...

Posted by 182x on Fri, 04 Jun 2021 02:40:56 +0930

[NOIP2016 improvement group] earthworm (basic data structure monotonic queue)

NOIP2016 improvement group] earthworm (basic data structure monotonic queue) Luogu link Description: Cricket country recently earthworm disaster! The fleas in the flea country next door also had no choice but to take earthworms, so the cricket king had to ask the shendaoshou to help them eliminUTF-8...

Posted by louie on Sun, 06 Jun 2021 08:15:56 +0930

6-5-1: stack and queue in STL

1: Brief introduction Stack and queue are two containers in STL, which correspond to the stack and queue in the data structure respectively. Here, I will not introduce the use of its specific interface too much. Logically, they are completely consistent with the data structure, and the interfaUTF-8...

Posted by xXx_Hobbes_xXx on Tue, 08 Jun 2021 03:45:38 +0930

RabbitMQ -- Message Middleware

1, What is middleware? Middleware is the software between operating system and application program. Middleware is an independent system software or service program, with which distributed application software can share resources among different technologies. There are many middleware products, UTF-8...

Posted by textbox on Wed, 09 Jun 2021 04:50:18 +0930

The boss threw me 30G files and let me import them into the database in one day!

preface If you were given a large file containing 100 million lines of data, so that you can transform the data into the production database within a week, how would you operate? The above problem is that little black brother received a real business demand some time ago, and migrated the histoUTF-8...

Posted by etones on Fri, 11 Jun 2021 08:40:17 +0930