Category: programming languages
May 7, 2014
algorithms, code, code library, data structure, implementation, programming languages, sorting, VBA, vbscript, windows, windows scripting host
Among the simple sorting algorithms, the insertion sorting algorithm is my favourite. Insertion sort is simple to implement and gives an average quadratic O(n2) running time, like other simple …
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 …
If we want to know whether a given string has repeated characters, the simplest way is to use the existing method of finding first occurrence from the end of …
Do you want to compute such numbers in two seconds? such as 85 x 85, 97 x 93, 23 x 27 … ? Multiplication of two digits (from 10 …