Category: string
Given a string that consists of words (non-space characters count as part of a word), you are required to output the new sentence that reverses the words. For example, …
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 …
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 …
February 18, 2014
algorithms, beginner, brainfuck, c / c++, code, code library, data structure, implementation, programming languages, string
The problem is from LeetCode Online Judge . The puzzle appears to be the most-favourite interview questions. It asks you to implement an algorithm to check if a given …
This is another simple problem for practising LUA programming. The simple puzzle is from SPOJ Online Judge (see problem description) This problem can be used to serve as a …