Implementation of tick TCK toe code in C language

We should all have played the three piece chess game. The rules of the game are not introduced. Let's go through it together before the code is realized! 1. Mind map 2. Design idea Combined with the above figure, we can split it into three files for writing: test.c file is used to test the logic of the game do... while function, pri ...

Posted by dkim777 on Thu, 17 Feb 2022 22:59:40 +0100

Time complexity

catalogue 1, Concept definition 2, Symbolic representation 3, Common species 4, Parsing example 1, Concept definition According to the definition, time complexity refers to the time required for the algorithm to run when the input data size is N +. Note: It counts the "number of calculation operations" of the algorithm, no ...

Posted by hamza on Thu, 17 Feb 2022 22:55:04 +0100

LeetCode: Home robbery~~ Dynamic finishing

[1. House on the street, happy thief No. 1] 198. House raiding (medium) You are a professional thief who plans to steal houses along the street. There is a certain amount of cash hidden in each room. The only restrictive factor affecting your theft is that the adjacent houses are equipped with interconnected anti-theft systems. If two adjacen ...

Posted by thipse_rahul on Thu, 17 Feb 2022 22:53:26 +0100

redis distributed lock combat from simple to deep to solve the problem of concurrent oversold

What is the purpose of redis distributed lock to solve? In order to solve the problem that synchronized can not achieve synchronization in distributed situations, because synchronized synchronization is the method of one jvm, which can not be done by multiple JVMs. 1. Implement the inventory reduction scenario of redis basic business Integer ...

Posted by ryan-uk on Thu, 17 Feb 2022 22:49:29 +0100

can line communication of stm32 common errors

catalogue preface Specific manifestations of can line problem: Software problems: 1. Speed 2. Pin 3. Interrupt callback summary preface After studying stm32 for a period of time, I have summarized some common problems. This article mainly writes about the problems encountered on the can line. Specific manifestations of ...

Posted by gerrydewar on Thu, 17 Feb 2022 22:42:49 +0100

Mybatis plus is easy to use

Mybatis-Plus 1 Introduction to mybatis plus Official website address Mybatis plus (mp for short) is an enhancement tool of mybatis. Based on mybatis, it is only enhanced without change. It is developed for simplification and efficiency. characteristic: No invasion: it is only enhanced without change, and its introduction will not affect ...

Posted by direction on Thu, 17 Feb 2022 22:35:18 +0100

IPV6 public network ip acquisition, done

copyright This article was first published on soarli blog. Please indicate the source of reprint. Portal preface The last time I tossed about IPV6 was about a month ago, After beating the drum all night, I didn't get the desired result in the end (that is, the mobile phone supports direct access to resources under IPV6, etc.). Today, I had a ...

Posted by darkshine on Thu, 17 Feb 2022 22:33:12 +0100

Java Web Learning Notes

JavaWeb Basic concepts preface web development web pageStatic web html, cssThe data provided to everyone will never change Dynamic web The data provided to everyone will always change, and everyone will see different information at different times and placesTechnology stack: Servlet / JSP, ASP, PHP In Java, the technology of dyna ...

Posted by phpjaco on Thu, 17 Feb 2022 22:25:42 +0100

Redis distributed lock (illustration - second understanding - the most complete in History)

The article is very long, it is recommended to collect! High concurrent enthusiast community: Crazy maker circle Offer the following valuable learning resources to the children: Crazy maker circle classic books: Classic "high concurrency trilogy of Java" Necessary for interview + necessary for large factory + necessary for salary i ...

Posted by thessoro on Thu, 17 Feb 2022 22:23:03 +0100

Binary cluster deployment: 8ks high

K8s binary high availability deployment Say in front Relevant codes and note addresses in this chapter: a plane ticket πŸš€ 🌍Github: πŸš€ Java supernatural path:[ πŸ” Study notes of Java full ecological technology, let's be supernatural together πŸ”] πŸͺCSDN: πŸš€ Java supernatural path:[ πŸ” Study notes of Java full ecological technology, let's ...

Posted by CaptianChaos on Thu, 17 Feb 2022 22:21:56 +0100