LeetCode 1293. Shortest path in grid (DP/BFS)
1. Title
Give you a m * n grid, where each cell is either 0 (empty) or 1 (obstacle).
At each step, you can move up, down, left and right in blank cells.
If you can remove up to k obstacles, find the shortest path from the upper left corner (0, 0) to the lower right corner (m-1, n-1), and return the st ...
Posted by mountaindave on Sat, 27 Jun 2020 07:38:08 +0200
June 26, 2020 - wechat applet development
title: wechat applet development
date: 2020-06-26 07:45:20
tags: wechat applet
categories: wechat applet development
file
Document address
Applets provide a simple and efficient application development framework and rich components and API s to help developers develop services with native APP ex ...
Posted by ravensshade on Sat, 27 Jun 2020 04:54:14 +0200
[Distributed Lock] 03-Redisson for RedLock principles
Preface
You've learned the principles of Redission reentrant locks and fair locks before, and then you'll see how Redission implements RedLock.
RedLock principle
RedLock is a redis-based distributed lock that guarantees the following features:
Mutual exclusion: At any time, only one client can hold a lock; avoid deadlocks:
When the clie ...
Posted by Shendemiar on Sat, 27 Jun 2020 02:29:15 +0200
Copy constructor of C + + (copy constructor)
Copy constructor (copy constructor)
1, Copy constructor concept
Copy constructor is a special kind of constructor. When creating an object, it uses the previously created object in the same class to initialize the newly created object. Copy constructors are commonly used for:
Initialize the newly cr ...
Posted by bnownlater on Fri, 26 Jun 2020 07:54:49 +0200
Source code analysis of working principle of nacos Distributed Configuration Center
nacos Distributed Configuration Center
Personal Alibaba nacos Renovation Project: alibaba_nacos
1. Service Startup Configuration Loading
Source: NacosPropertySourceLocator
Workflow: Nacos customizes the PropertySourceLocator to get data from the configuration center at service startup, then add and re-run the local environment to load the confi ...
Posted by CanMan2004 on Thu, 25 Jun 2020 20:02:40 +0200
Docker 2020 detailed tutorial and summary
Super long warning!!! It is recommended to look at the catalogue first
Introduction to docker and related cases
It's not easy to summarize. If you agree, please like it~
If there is any mistake, please correct it!
Docker directory
Document introduction
Docker overview
Why does Docker appear?
Docker ...
Posted by tron00 on Thu, 25 Jun 2020 05:47:30 +0200
LeNet-5 migration case of convolution neural network
Abstract: LeNet-5 is a convolutional neural network designed by Yann LeCun in 1998 for handwritten digit recognition. Most American banks used it to recognize handwritten digits on cheques. It is one of the most representative experimental systems in the early convolutional neural network. It can be said that LeNet-5 is equivalent to "H ...
Posted by lauriedunsire on Wed, 24 Jun 2020 05:54:39 +0200
Sping boot integrated rocketmq multi consumer
1, rocketmq installation
Installation media Download
Download address: http://rocketmq.apache.org/release_notes/release-notes-4.7.0/Download binary installation package
Upload to the server for decompression
Start command:
cd /usr/local/rocketmq/
# 1. Start mqnamesrv first
#Start command
nohup sh b ...
Posted by jocknerd on Wed, 24 Jun 2020 04:34:39 +0200
k8s uses Nodeport to expose services
k8s uses Nodeport to expose services
There are many ways to expose K8s services. Here we mainly study how to expose services through Nodeport
First of all, we must understand several concepts before exposing ports:
*< 1 >. Server: it is a cluster instance entry composed of accessing backend pod replicas. It consists of: ` [cluster_ip] ` ...
Posted by mrpickleman on Wed, 24 Jun 2020 04:03:57 +0200
Tungsten Fabric solution guide - Kubernetes integration
Author: Tony Liu translator: TF Compilation Group
1 integration of kubernetes and TF
In the integration scheme, there are two connections between Kubernetes and Tungsten Fabric.
Contract Kube manager and Kube API server
Contrail CNI
1.1 contrail-kube-manager
This service connects to the Kube A ...
Posted by dmrn on Tue, 23 Jun 2020 11:09:18 +0200