February 26, 2014
c / c++, code, code library, floating point, implementation, linux, math, programming languages, tools / utilities, windows, windows command shell
The famous quote for Linux Shell is ‘Where there is a shell, there is a way’. It reflects that the Linux Shell (e.g. BASH) is so powerful that almost …
The combination is a frequently-used technique that choose a number of items from a whole data set (sequence is not important). For example, to choose 2 items from 3, …
February 18, 2014
algorithms, beginner, brainfuck, c / c++, code, code library, data structure, implementation, programming languages, string
The problem is from LeetCode Online Judge . The puzzle appears to be the most-favourite interview questions. It asks you to implement an algorithm to check if a given …
We all know the area of a circle is computed as . Suppose the radius is ONE for simplicity to compute the value of , we can have the …
February 15, 2014
32 bit, algorithms, beginner, c / c++, code, code library, implementation, linux, math, programming languages, windows
If you are a linux user, you may know this ‘useless’ command factor which will print the prime factors of given positive integers on command line. On execution, the factor will …