This is a possible interview question. Q: List three methods of checking whether any given integers are the power of 2. i.e. and compare the algorithm complexity and performance. …
I will start collecting some interview questions. Q: Implement a Division but cannot use the division operator ‘/’ on two integers. A: We can use substraction instead. However, we …
July 21, 2012
beginner, c #, code, I/O File, implementation, memory, programming languages, software design, technical, tools / utilities, tricks, windows, windows command shell
LAA (Large Address Aware) is the technique of setting a flag (hex: 0x20) in the Win32PE header that tells the Operating System that the executable may need a larger …
July 20, 2012
algorithms, BASH, batch script, beginner, brute force, implementation, non-technical, programming languages, tools / utilities, tricks
Shell Script Programming is of lots of fun. The following script prints a chess board with 8×8 squares interleaving black and white. Using simple loops and some simple math …
301 and 302 redirects are quite an important topic in the SEO (Search Engine Optimization). 301 creates the redirect telling the search engines that the link has moved to …
In one of the projects, the .NET program needs to allocate a relatively large 3-dimensional array. It was defined as the multidimensional array as the following. private float data …