Author: ACMer
In this post, I have compared three versions (from the same codebase) using Delphi to count the number of primes between 1 to N. Actually, this is quite a …
I recently purchased a $5 VPS from Vultr and what I get is 1 core (2.4GHz), 740MB RAM and 15GB SSD. It is the basic (minimal) specs and nothing …
On WSH (Windows Scripting Host) environment, you can use VBScript or JScript (Microsoft’s implementation of Javascript). Both languages are supported and shipped on every Windows versions since Windows 98. …
We need to bear in mind the Ahmdal’s Law when doing code optimisation. The speed up can be described in the following equation: Speedup = time_old /time_new Where, the …
There is a popular IQ question, e.g. according to the first few number patterns, find the answer to the input: 1234 = 0 4567 = 1 2345 = 0 …