A Palindrome string is a string that mirrors itself, for example, ’12a21′ reverse is the same string and ‘abcde’ is not. A Palindrome number is a integer number that …
Question: Given a number (integer) stored in an array of digits int digits Plus one and return the new array. Source: http://oj.leetcode.com/problems/plus-one/ The number is written from left to right, so for …
oj.leetcode.com is an online judge website that provides quick exercise to programming tasks. This is helpful before you go for an interview for a software company. The tasks seem easier …
In Python 2.x, the function range(x, y, s) generates a actual list of elements from x to y – 1 step s. The other syntax is range(a) and range(a, b) which is the same as range(0, a, 1) and range(a, b, 1) respectively. For example, …
October 18, 2013
16 bit, assembly language, code, DOS, DOSBOX, I/O File, implementation, interpreter / compiler, memory, MSDOS 16-bit, programming languages, python, tools / utilities, tricks, windows
Binary files are not complex. The DOS .COM format is simple. The following demonstrates the idea of converting a short message (ASCII text) to .COM executable. As we know, …