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 …
Remember a couple days ago, I write a solution to this puzzle using Dynamic Programming (DP)? The DP solution helps to avoid duplicate computation in the sub-problems (smaller size). …