LeetCode 297. Serialization and deserialization of binary tree

My LeetCode: https://leetcode-cn.com/u/ituring/ My LeetCode source code [GitHub]: https://github.com/izhoujie/Algorithmcii LeetCode 297. Serialization and deserialization of binary tree subject Serialization is the operation of converting a data structure or object into continuous bits, and then the transformed data can be stored in a file or ...

Posted by baccarak on Fri, 08 May 2020 14:56:28 +0200

python Foundation: producer and consumer model under multiprocess

Introduction to producer consumer model 1. Why the producer consumer model is needed Producer refers to the task of production data, and consumer refers to the task of consumption data. When the producer's production capacity is far greater than the consumer's consumption capacity, the producer needs to wait for the consumer to consume before c ...

Posted by Spaceboy on Fri, 08 May 2020 12:27:28 +0200

How to use Istio for multi-cluster deployment management: Single Control Plane Gateway Connection Topology

Author|Wang Xining Senior Technical Expert of Alibaba Guidance: This paper is abstracted from the book "Istio Service Grid Technology Analysis and Practice" written by Wang Xining, a senior technical expert in Ali Cloud. It describes how to use Istio to manage multi-cluster deployment to illustrate the support capability of service ...

Posted by ainoy31 on Thu, 07 May 2020 19:48:08 +0200

Android Jetpack Architecture - Paging custom pull-up loading more

Jetpack series Android Jetpack architecture component - Lifecycle usage Android Jetpack architecture component - LiveData usage The use and principle of ViewModel, an architecture component of Android Jetpack Android Jetpack architecture component - Paging introduction and Practice Android Jetpack architecture component - Roo ...

Posted by ganlal on Wed, 06 May 2020 06:04:28 +0200

[Android] get current network status summary

Preface When our App makes network requests, it often encounters network disconnection, reconnection, data flow and WIFI changes. So how do we judge the current situation? Next, we will introduce the commonly used network state judgment methods. Determine if there is a network connection Judge whether WIFI network is available Determine whethe ...

Posted by pdub56 on Wed, 06 May 2020 00:24:55 +0200

Step by step to complete Kubernetes binary deployment -- etcd cluster building (single node)

Completing Kubernetes binary deployment step by step (I) -- etcd cluster building (single node) Preface The basic theory and core components of Kubernetes are briefly introduced. The first step of deploying Kubernetes cluster with single node and binary system is to build etcd cluster experiment flow. List of cluster planning (the next article ...

Posted by RestlessThoughts on Tue, 05 May 2020 17:14:40 +0200

Android uses WeChat, Alipay and qq wallet H5 to pay.

There was a project before Android using webview to load the contents of the web page, and then adding the original function of APP. This project has the integration of WeChat, Alipay, qq wallet and other H5 payment methods. Recently, the content of the payment version has been upgraded on the webpage side, resulting in ...

Posted by fotofx on Mon, 04 May 2020 21:35:36 +0200

Elastic search 7.1 in depth learning

1. elatic engineer certification examination If you have the strength, you can take the exam. It will be helpful for the appreciation and salary increase 2. es architecture Ecosphere install jvm configuration Install plug-ins Use elasticsearch plugin in elasticsearch-7.1.0/bin to install the plug-in. es will download a ...

Posted by oskom on Mon, 04 May 2020 14:05:17 +0200

Android integrated Baidu character recognition 1.4.0

Android integrated Baidu character recognition 1.4.0 Baidu AI open platform has opened the service of character recognition, which can realize the recognition requirements of some general characters, network pictures and characters, various cards (ID card, bank card, driver's license, driving license, license plate bus ...

Posted by Drewser33 on Mon, 04 May 2020 13:43:54 +0200

Hybrid App knowledge point collection

Native Webview knowledge: 1: Registration related authority <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> 2:webview common methods goBack() //Back off go ...

Posted by MorganM on Mon, 04 May 2020 01:33:41 +0200