Archive for the ‘Programming Praxis’ Category

Lowest Common Ancestor

Monday, March 21st, 2011

Yet another PP challenge piqued my interest. Here's the problem statement: Today’s problem appears with some regularity at places like Proggit and Stack Overflow and in lists of programming interview questions: Given a binary tree t and two elements of the tree, m and n, with m<n, find the lowest element ...

Fun with Word Cubes

Monday, July 26th, 2010

Programming Praxis (PP) recently published a puzzle that piqued my interest. Basically, the challenge is to code a solver for Word Cubes. Since I've always been a Word Cube aficionado, I decided to take a crack at the problem and see if I can come up with a decent solution. Before ...