Feb 10, 2011
As you may know Google App Engine does not allow developers to use the imp, ftplib, select, socket libraries. I had to implement these two functions and I have decided to code the rest of the functions and put them on GitHub. If I needed, someone else might need them as well.
Oct 11, 2010
I think everyone would agree on that there are only two text editors in the history of mankind; emacs and vim. Here are some configurations for emacs.
Jul 09, 2010
The most important algorithms with explanations and some code examples in Python, Java and LISP.
Jun 28, 2010
Question: Write a recursive function that prints all the permutations of a given string. The number of permutations for a string is n! where n is string length.
Jun 13, 2010
Integer exponentiation algorithms such as binary method, mk-ary method, quaternary method, octal method, Montgomery's Ladder Technique.
Jun 08, 2010
There are perhaps tens of different ways to do it, either using standard libraries or writing your own piece of code. If we consider in Java, a good answer would be using the StringBuilder class.
Jun 05, 2010
In its simplest definition a linked list is a sequence of nodes that each node contains the data and the reference to the next node in the list. Detection of a cycle in a linked list is useful before beginning to process because such linked lists cause an infinite loop.
May 04, 2010
The first balanced binary tree in computing history was the AVL tree which introduced the wide area of balanced binary search trees. An AVL tree is a binary search tree which has an additional balanced condition(yes, that's the only extra addition). Balanced condition of the AVL tree ensures the depth of the tree is O(log n) which ensures the depth of the tree is logarithmic.
Mar 07, 2010
This is the second part of the string search algorithms. In this post I'll cover Knuth-Morris-Pratt algorithm.
Mar 02, 2010
Every text editor and IDE performs string searches. Basically, there always a text and the users searches for a pattern in the text. If you use an efficient algorithm can aid the responsiveness of the text-editing program. In this post I'll cover the most known string search algorithms. String search algorithms are also used to search for particular patterns in DNA sequences.