How to fix Gedit LaTex Plugin error while saving BibTex
Gedit (3.4.1) gives the error below while saving a BibTex file (Ubuntu 12.04). The saving works fine, apart from the error popping up. How to fix it?
View ArticleTwo algorithms to find the nth to last element of a singly linked list
This is one of frequently asked questions on the programming interview. There are two kinds of solution: iteration-based and recursion-based.
View ArticleGiven a binary tree, create a list of all the nodes at each depth --...
Another FAQ on the programming interview.Cracking the Coding Interview (4ed) (see page 126) provided a non-recursive algorithm. For me, a recursive version is neater and much easier to understand.
View ArticleSort a stack in ascending order in O(n log n)
Write a program to sort a stack in ascending order. You should not make any assumptions about how the stack is implemented. The following are the only functions that should be used to write this...
View ArticleJava.io in nutshell: 22 case studies
This post attempts to cover a comprehensive set of operations in java.io. Compared with other books and blogs related to this topic, my motivation is to show “how-to” through case studies.
View ArticleHow to build PDFsam enhanced
PDFsam (PDF Split and Merge) is a free and open source desktop utility designed to perform pdf documents manipulation (pdf merge, pdf split, page rotation etc). PDFsam Enhanced is its Pro version.....
View ArticleUsing regex to hanging indent a paragraph in Java
This post shows how to hanging indent a long paragraph using regular expression. The method will consider word boundaries, which means it will not break words for the indentation.
View Article