April 4, 2014
algorithms, beginner, c / c++, code, code library, implementation, interview questions, leetcode online judge, math, programming languages, string
The sequence is interesting. It starts from ‘1’. The next number always counts the previous number in digits one by one. For example, the second number in the series …
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. Example 1: Input: , , ] Output: Example …
March 30, 2014
16 bit, 6502, 8 bit, assembly language, code, code library, compiler, console, debug, famicom, hardware, implementation, interpreter / compiler, Nintendo Entertainment System, programming languages
On 16-bit MSDOS, you can use debug.exe (16-bit debugger) to write tiny (or small) .COM binary programs. There is no compilation process, you write the assembly code and the …
March 29, 2014
16 bit, 6502, 8 bit, assembly language, code, code library, compiler, console, famicom, implementation, Nintendo Entertainment System, programming languages
In 16-bit MSDOS, you can create small executable files that end the filename with ‘.COM’. The .COM is small and less than 64 KB in total file size. There …
March 27, 2014
algorithms, code, code library, cryptography, implementation, math, php, programming languages, string, tricks, webhosting
As we all know, we can store a set of boolean values (Yes or No, True of False) in a integer (signed or unsigned). For example, you can define …