(1) Through an index value as index (int type), to traverse the polynomial;
(2) If a number is scanned, it is directly put into the data stack;
(3) If a symbol is scanned, it can be divided into the following situations:
a. If the current symbol stack is empty, put the symbol di ...
Posted on Wed, 22 Jan 2020 06:08:25 -0500 by NTFS
1, The first step is to reference the dependency class and add dependency in Pom.xml
Posted on Tue, 21 Jan 2020 11:17:31 -0500 by astaroth
I think the bash shell script is very simple, similar to the c language, but with some different syntax.Here's a brief overview of the knowledge and content required to build a basic shellFirst, the first line of a shell script file specifies the shell to be used in the script. Symbols can be made in th ...
Posted on Sun, 19 Jan 2020 20:49:47 -0500 by ben_johnson1991
1. What is AOP
AOP (Aspect oriented programming) is the complement and perfection of OOP (object oriented programming). OOP introduces the concepts of encapsulation, inheritance and polymorphism to build an object hierarchy to simulate a set of public behaviors. When we need to introduce public behav ...
Posted on Fri, 17 Jan 2020 04:22:10 -0500 by zleviticus
What limits flow?
In the development of high concurrency system, there are three tools to protect the system: caching, degradation and current limiting. So what's the limit? As the name suggests, flow restriction is to limit the traffic, just like your broadband package 1 G of traffic, run out of it. By limiting the current, we can control the ...
Posted on Tue, 07 Jan 2020 06:34:47 -0500 by brainardp
Simple computer rendering
After work, I want to write a calculator to play with. After searching the Internet, I find it is very complex. A simple function introduces many plug-ins. I'm not talented. I've made a whole one. It's written in pure js.
First of all, the last written code. If you look at it, you can directly create ...
Posted on Sun, 05 Jan 2020 04:32:12 -0500 by Pavlos1316
As a state management tool of react, redux is a very important part, but it is difficult to learn. Its writing method is divided into three parts, and unlike other things, he can write one step and check it on the page. It must be completed in three parts before it can view the effect. Therefore, redux has a headache when reporting an error. It ...
Posted on Fri, 03 Jan 2020 17:54:56 -0500 by mpf
Slowly make records and become the most powerful self
After reading the design mode of Dahua, I felt deeply, and found that I still have a lot to learn. Designing software is not just one or two lines of code, but also a lot to think about
The source of the code refers to the book of Dahua design pattern, which is recorded in the blog. It is im ...
Posted on Tue, 31 Dec 2019 05:14:32 -0500 by DaCheata
Basic Calculator II
Given some combinations of nonnegative integers and symbols +, -, *, /, there may be spaces in between. Note that the truncation of integer division should be in the direction of 0, for example, 3.5 is 3, - 3.5 is - 3Sample input and output:
Input: " 3/2 "
Posted on Fri, 27 Dec 2019 10:37:48 -0500 by peter.t
1. First question, first question
3 ERROR: testCalcu (__main__.MyTest)
5 Traceback (most recent call last):
6 File "D:\WorkSpace3\EXAMPLE\Appiu_ex\test.py", line 28, in testCalcu
Posted on Mon, 23 Dec 2019 12:59:07 -0500 by patrick99e99