Sorting Algorithms in R Language

Prior to writing this blog, I wrote a post called Eight Sorts Programmers Have No Reason Not to Know In that blog, there are detailed descriptions of the eight sorting algorithms. The code implementation is mainly implemented by Java code. Recently, there are many sorting algorithms in R language. So I want to reorganize the sorting algorithms ...

Posted by dazzathedrummer on Tue, 14 Jul 2020 18:11:18 +0200

Late night overtime boring, imitating an EventBus based on reflection

Dry point By reading this blog, you can learn about java's reflection mechanism and how to use custom annotations to solve everyday R&D problems based on the spring lifecycle. Problem Description In daily R&D, it is common to encounter an action triggered by Business A and at the same time trigger the action of Business B. This form of ...

Posted by rross46 on Mon, 29 Jun 2020 18:57:16 +0200

Using lancher2 + kubernetes + skywalking to deploy the spring cloud project (III [jenkins audit and release])

List of articles in this series (under planning) Basic k8s yaml script Publishing helm+shell script optimizes a large number of redundant configuration releases Streamline deployment of jenkins user audit service mesh(istio) service grid Publishing preface Previous Using lancher2 + kubernetes + skyw ...

Posted by rxero on Wed, 24 Jun 2020 04:20:46 +0200

Session, Tensor, Variable OP

Rimeng Society AI: Keras PyTorch MXNet TensorFlow PaddlePaddle Deep Learning Actual Warfare (Update from time to time) 2.3 Sessions, Tensors, Variables OP Learning Objectives target applicationSess.runOr eval runs the diagram program and gets the tensor value Apply feed_dict mechanism to ...

Posted by Pinkerbot on Sat, 20 Jun 2020 03:37:48 +0200

Java OOP inheritance

1, The concept of inheritance Inheritance is a cornerstone of java object-oriented programming technology, because it allows the creation of hierarchical classes. Inheritance means that the subclass inherits the characteristics and behaviors of the parent class, making the subclass object (instance) have the instance domain and methods of the p ...

Posted by Anidazen on Fri, 12 Jun 2020 10:43:12 +0200

mongoDB advanced application

Replica set introduction What is a replica set -MongoDB replication is the process of synchronizing data on multiple servers. -Replication provides redundant backup of data and stores copies of data on multiple servers, improving data availability, And can ensure the security of data. -Replication also allows you to recover data from hardwa ...

Posted by Shibbey on Wed, 06 May 2020 03:09:50 +0200

Linux basic shell array

abstract The property of array is a set of collection with the same data type. Although the shell is of weak type, we can also divide its array into data type array and string type array The shell's array elements are separated by spaces Array operation Suppose you have two arrays array1=(1 2 3 4 5 6) array2 ...

Posted by foobar on Mon, 04 May 2020 01:49:51 +0200

Shell process control

Shell process control if else if statement Syntax: if condition then command ... fi eg: #!/bin/bash a=100 b=100 if [ $a == $b ] then echo "$a == $b" fi Output: 100 == 100 You can also write a line at the terminal: [zhang@localhost ~]$ a=100 [zhang@localhost ~]$ b=100 [zhang@localhost ~]$ if [ $a == $b ]; then ...

Posted by Nabster on Fri, 01 May 2020 06:24:57 +0200

The Blue Bridge Cup algorithm is used to train interceptor missile [longest ascending subsequence & longest non descending subsequence nlogn and n^2]

Algorithm training interceptor Time limit: 1.0s memory limit: 256.0MB Problem description In order to defend against the missile attack of the enemy, a kind of missile interception system has been developed. But this kind of missile intercepting system has a defect: although its first shell can reach any height, every shell in the future ...

Posted by adamgeorge on Fri, 01 May 2020 04:36:51 +0200

Java data structure and algorithm (6) - Hill sorting

1, Generation of hill ordering The shell sort is Insert sort One of. Also known as reduction increment Sorting is an improved version of direct insertion sorting algorithm. Hill sort is an unstable sort algorithm. This method was named after DL. Shell in 1959. Hill sorting is to group records by a certain increme ...

Posted by Tokunbo on Fri, 01 May 2020 03:45:10 +0200