Tag: math
This was an interview question from Google. The difficulty is entry level. The question asks how many zeros are there for the numerical result of 1024!, which is 1 …
In , the algorithm is introduced that counts the average number of addition for sum to reach one, which approximates the math constant . The following will count the …
It is said this question is an interview question for some Software Engineer job. The question is like this. In Australia, each family prefer the girls rather than boys. …
July 16, 2012
algorithms, batch script, beginner, brute force, implementation, math, programming languages, technical, tricks, windows, windows command shell
Windows Batch File (*.bat, *.cmd) is probably the most well-known exectuable file formats because of its simplicity, i.e. each line corresponds to a command for shell to execute. This …
July 11, 2012
algorithms, batch script, beginner, code, code library, implementation, linux, multithreading, programming languages, tricks
In , the implementation of a sleep-sort algorithm is presented via the Python code. This article will shortly presents the implementation in Linux BASH Shell Script, which demonstrates the …