The following puzzle is taken from Timus Online Judge and You can submit your solution at this URL: http://acm.timus.ru/problem.aspx?space=1&num=2025 We first compute the average size n/k so we can …
This puzzle is from Leetcode Online Judge and this may appear quite often during interviews. This puzzle asks you to find the minimal sum for a number triangle. You …
In order to post twits to Twitter using Twitter APIs, you would first need to go to Twitter Dev site http://dev.twitter.com/apps. You can easily follow the screen instructions to …
September 20, 2014
BASH Shell, beginner, c / c++, code, code library, console, I/O File, implementation, programming languages, windows, windows command shell
On Linux BASH shell, the ‘nl’ utility is used to print out text file (or string) with line numbers. If you type in nl –help you will have a …
The question is: how many bits are required to change if we want to convert a integer to another? The problem is from . This may seem complicated at …