Search Results for:

[Algorithm] Ma methods – Magic square

In math fun, Magic matrix of degree n (also known as ma or the magic square) an arrangement of n², usually distinct integers, in a square table so that the total number in each row n, post, and diagonals are equal standard dental Magic square contains the integers from 1 to n². Magic square exists for every standard […]

[WordPress] Insert music on wordpress.com – Insert music to wordpress.com

Surely you know a way to insert music on WordPress. It is used Soundcloud. But using Soundcloud has a rather inconvenient. That's it limits the duration of the tracks are up to. Moreover, stick miss all of the British or American artists as it is not always up. So in this post, I will guide you to put music […]

[Algorithm] Calculate the value of expression

Balan inverse method or expression tree will make new friends learn embarrassing. This is an extremely simple method you can understand and apply the simple expression include 2 operations + and * CEO: 2*5+3+4*3+2 Calculation: If the expression has allowed + then take the first expression + Conversely section final expression if the expression […]

[Java] Replace characters by way String.replaceAll – Replace a plus character using Java’s String.replaceAll method

In some signs TH [ ^ $ . | ? * + ( ) called the special symbols. Want to replace them, Ex-character + chain do: or

[Eclipse] Import project in Eclipse

If you've installed the Eclipse that had previously been doing some project then you need to Import they can open. File -> Import Nhấn Next. Then click the Browse button to navigate to the folder containing the project. Select Project to import and click Finish, attention when selecting the folder containing the project you have to press OK, not double.

[Algorithm – Java] Calculate the value of the expression suffix – Calculate value of the postfix Equation

The validity of a mathematical expression in infix form of conventional computers will be converted to the inverse Polish notation (suffixes) for the calculation is easy. You can see the transformation algorithm from the element to the suffix in my article. In this article, I will present the method for calculating the value of an expression […]

[Java] Stack in Java – Stack in Java

Stack is a data structure to store multiple data elements. Stack operations according to the following mechanism before Last In / First Out (LIFO). In the Stack with the basic operations: + Push : more 1 element on top of the stack + Pop : taken 1 elements from the top of the stack + Peek: Stack returns the first element without removing it from the Stack + isEmpty: Check […]

[Java] Change the number of array elements in Java – Resize the array length in Java

In Java to change the size of the array we will copy the original array to another array with the desired size.

History of programming languages – History of programming languages

In an increasingly connected world , the programming language platform role. Did you know that the first programming language was more 100 years old and was written by a woman named Ada Lovelace? Please join us! We will go deeper into the history, evolution, and popularity of programming languages […]

[Compound] NKBUS

Threads: http://vn.spoj.com/problems/NKBUS/ A bus company's mission to welcome staff office. On the journey, Buses will receive staff waiting at the rendezvous if space is still available vehicles. Buses can park back to the workers barely wait to rendezvous. Indicate the time that each employee to his rendezvous point across […]