Tag:algorithm

  • Programmers tell you: C / C + + background development needs to learn what skills books

    Time:2020-11-30

    The main programming languages used by background development engineers are C + +, Java, PHP and golang, which is becoming popular gradually. Xiaobian will talk about how to learn and prepare for the post of background development from the perspective of C + +. 1、 Language foundation     Whether it is C + + […]

  • Ray and rllib for fast parallel reinforcement learning

    Time:2020-11-30

    By Christian HubbsCompile | VKSource: toward Data Science Ray is more than just a library for multiprocessing. Ray’s real strength comes from the rllib and tune libraries, which take advantage of reinforcement learning. It allows you to extend your training to large distributed servers, or take advantage of parallelization to use your own laptop more […]

  • Microservice – how to limit and fuse service current

    Time:2020-11-27

    1、 Service avalanche Microservice architecture is to divide a single application into various small and connected services, and each service completes a single business function. Compared with the traditional monomer services, microservices have the advantages of isolation, technology heterogeneity, scalability and simplified deployment. Usually, an application is composed of multiple microservices, and the data interaction […]

  • Let’s look at JavaScript’s garbage collection mechanism

    Time:2020-11-27

    Garbage collection mechanism of JS JS will automatically allocate memory when creating variables, and automatically release memory periodically when not in use. The release process is called “garbage collection”. This mechanism has both advantages and disadvantages. On the one hand, automatic memory allocation reduces the burden of developers, and developers don’t have to pay too […]

  • Division without division

    Time:2020-11-27

    preface At the beginning of July, we challenged leetcode‘s question 29 (medium difficulty, which seems nothing to boast about). The problem requires that the function of integer division be realized without division, multiplication and modular operation. Since the divisor and divisor are integers, subtraction can be used to achieve division (what a naive idea). A […]

  • Record the interview process of Tencent go development post

    Time:2020-11-26

    Job hopping is the only way for everyone in the workplace. The author is also a layman. In addition, the company’s leaders are not right for people. Therefore, with the encouragement of headhunters, I have the impulse to try. After all, it is a taboo of military strategists to build a car behind closed doors. […]

  • Everything about hashing!

    Time:2020-11-26

    preface This article is on the album: http://dwz.win/HjK , click to unlock more knowledge of data structures and algorithms. Hello, this is tongge. In the last section, we learned how to build a high-performance queue in Java, which involves a lot of low-level knowledge. I don’t know how much you get?! In this section, I […]

  • 2. Spark principle RDD and shared variables

    Time:2020-11-26

    explain This article only discusses spark running in cluster mode. The reading time is 15 minutes. This use case is all in spark shell interactive script. Spark has two important concepts: RDD and shard variable. The following is a detailed introduction. 1 RDD The full name of RDD is resilient distributed dataset. Spark operation is […]

  • Practice experience of IOS development with byte skipping (offered!)

    Time:2020-11-26

    Byte bounce video side Algorithm Title: two queue simulation stacks What happened from URL input to page return This paper introduces the common sorting algorithms and their efficiency and stability C + + object oriented mechanism Encapsulation, inheritance, polymorphism The process of three handshakes Why shake hands three times Do you know about heaps and […]

  • Tetris game automata

    Time:2020-11-25

    Making Tetris with electronFollow up article, intelligent program to play Tetris game. background Not long ago, I completed the basic Tetris game with ES6. Today, I have completed a preliminary intelligent algorithm. I can play Tetris automatically, which makes my idea closer to the realization. design sketch The first run, eliminate 1398 lines, steal joy! […]

  • Structure and algorithm (02): queue and stack structure

    Time:2020-11-25

    Source code:GitHub. Click here || Gitee. Click here 1、 Queue structure 1. Basic concepts Queue is a kind of special linear table. Its particularity is that it only allows deletion at the front of the table, but inserts at the back end of the table. Like stack, queue is a kind of linear table with […]

  • Java process control: sequential structure

    Time:2020-11-25

    1、 Process control In JavaProcess control statementIt can be classified as follows:Sequence structure, choice structure and circulation structure。 These three structures are enough to solve all the problems! 2、 Sequential structure Description: Java process controlBasic structureIt’s a sequential structure. Unless otherwise specified, java code isIn order, statements and code blocks are executed from top to […]