Category: code
The VBScript/Javascript under Windows is very helpful, which is often used as a daily administration programming language. WSH stands for Window Scripting Host. It is a Microsoft scripting-friendly environment, …
Question: Given an integer (maximum 100), compute the number of distinct ways to split the number using non-negative integer numbers. For example, given 5, there are 7 ways to …
November 5, 2013
32 bit, algorithms, assembly language, c / c++, code, implementation, interpreter / compiler, optimization, programming languages, windows
Introduction You probably came across the term ‘Tail Recursion’ or ‘Tail Recursive’ before. You even have written a piece of Tail Recursive functions/algorithms without knowing it. So, what is …
You probably came across the following declaration in C# and wonder what the hell does keyword this do. namespace ConsoleApplication1 { public static class Numbers { public static int AddOne(this …
Question: Given a string containing only numbers, restore it by returning all possible IP addresses (in a vector) Original Problem Page: http://oj.leetcode.com/problems/restore-ip-addresses/ Examples: Given "25525511135", return . (Order does not matter) A …