Tag: code library
September 5, 2014
algorithms, beginner, c / c++, code, code library, math, optimization, programming languages, recursive, tricks
We all know the formula to compute value e (mathematical constant that is the base of the natural logarithm) is e = 1 + 1/1!+ 1/2!+ .....+ 1/n! Now, …
This article provides some Javascript functions for common financial calculations. It can be easily adapted to other programming languages as well, because the formulas themselves are not complex at …
In C/C++ header file stdlib.h there is a function strtol which will convert given string to a long int at the specified base. The function prototype takes three parameters. The first parameter …
In VBScript, the values are dynamic typed meaning that the values can be changed at runtime for any variable. For example, a numerical variable can be converted on the …
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 …