Archive | Algorithm

[Algorithm] Interval Tree (Segment Tree) – Basswood

This document is written on Interval Tree relatively complete, clear and easy to understand. You watch and download here.

[Algorithm]The calculation algorithm complexity – Algorithm complexity

The need for content analysis algorithm implementation period of the program rate increased complexity and algorithm complexity Calculation algorithm recursive equation League Update Date 28/05/2014 – Fix the spelling and formulas presented in a more visible. There are many issues surrounding the algorithm, particularly complex algorithms. […]

[Algorithm – Java] The simulation algorithm searches the width (BFS) and depth (DFS)

The program described below 2 search algorithm width (BFS – Breadth-first search) and depth (DFS – Depth-first search) in graphics, There are walking and beautiful colors. The interface of the program will boot like this: The program 4 The main part. Section on (top) the program title, bottom (bottom) mềnh name =)). Left panel (left) the table […]

Algorithm pokemon game (pikachu)

In cases where the content is located on a row or column horizontally Where to go, vertical within the rectangle At extend horizontally, Code along the main function Update: 13/06/2014: Game Pokemon completed, you see here. Before writing this article I had to find references for articles on the algorithm of the big game on google but did not find […]

[Algorithm] Community Stack

Regarding the operations on Stack of you can see here For a list Stack is a link to the front to back so we can not direct public 2 Stack. Suppose need community at Stack Stack S2 S1, we use 1 Stack Stemp to store intermediate values ​​of S2 and then only turn putting values ​​into S1 Stemp. If […]

[CONNECTION] Qmax

Threads: http://vn.spoj.com/problems/QMAX/ this article we use the Interval Tree. Do you see this document on Interval tree and which also always that way solving.

[PLO] The problem of earthquake – OLP information 2012 block Supercup

Posts 3: Earthquake Limit time for each test: 1 seconds. On the banks of the river Lemon N households living. This residential area is frequently hit by many earthquakes with different intensity. Information about an earthquake Q includes a three integers (x, and, f), which: – (x, and) is the epicenter of the battle positions […]

[Tree] General tree

Have yourself a lot of time to learn how to install and enter, approval of the general tree, however, only found a way to install a number of methods rather not see the code in and browse the extensive plant specific… There are several ways to install and browse tree, you can consult online. This article only mentions his 1 fraction. Here is the code installed, Import, […]

[Algorithm] Minmax algorithm (alpha-beta pruning)

In the process of understanding minmax algorithm (pruning alpha – beta) consulted his numerous articles and feel of pyrites article'S BLOG relatively straightforward and detailed. We thank the author of the article and the author for permission to be quoted, refer to the content of your posts. At a game in which two people turn to water […]

[C / C ] The simulation algorithm by changing the base figure

About algorithm change the number you can see on the net, however, the program would be the change of system 10 to Us 2, 8, 16 and in accordance with the format we still do. Perform on dev-C Implementation in Linux terminal Read more: Principles to switch between the muscles of the Displays system 2, Contacts 8, Contacts 16 of decimal