Before HTML5, there is no easy way to read files from you local hard drives in the browser because reading files exposes security issues. Long time ago, you might …
By default, the URLs in the comment are kept as they are. If a user put directly an image URL, it would be nice to replace the URL with …
The Interview Question: Assume the Rand5() gives a random integer from 1 to 5. Each possible return is given with the same probability. How do you construct the Rand7() …
I write lots of scripts (VBScript or JScript) on windows platform (under Windows Scripting Host environment). They are mainly used to test the COM object (written in Delphi Seattle). …
You are asked to find the number of order pairs (x, y) such that, and x, y are natural numbers which also satisfy . Mathematics This shouldn’t be too …
You are asked to remove all elements of value val from a integer linked list. For example, Remove 2 from the following list, 1 -> 2 -> 2 -> …