Tag: string algorithm
The problem is from codeforces: http://www.codeforces.com/problemset/problem/236/A This simple problem can be solved easily. I use C# to practice the use of Hashset. Bruteforce O(n) each character and count the …
September 16, 2012
algorithms, batch script, beginner, code, code library, delphi, encryption, implementation, programming languages, string, tools / utilities, windows, windows command shell, windows scripting host
Rot13 and Rot5 are two ASCII rotation scheme that are made for alphabetic and digits respectively. The Rot13, namely, rotates the letter by 13 places, ‘A’ to ‘N’, ‘B’ …
September 16, 2012
batch script, beginner, github, implementation, programming languages, string, tools / utilities, tricks, windows, windows command shell
If you have something that are not so important but prefer not so easy to read at first except to you. You can simply reverse the text. For example, …
September 13, 2012
algorithms, batch script, beginner, games, images drawing, profiler, software design, string, technical, tools / utilities, windows command shell
Windows Batch Programming has been in existent for decades, ever since the first MS-DOS. The file extension that ends with *.bat will be interpreted by the DOS line by …
September 13, 2012
algorithms, batch script, beginner, code, code library, implementation, programming languages, string, tricks, windows, windows command shell
Under Linux, there is a famous quote: “When there is a shell, there is a way.”, meaning that the Linux SHELL script is very powerful and in fact can …