Archive for the 'Tail Recursion' Category
String reversing Part II: Tail Recursion
5 Comments Published November 12th, 2007 in Java, Tail RecursionAs several people pointed out in my last post that my version of reversing a string with recursion wasn’t tail recursive despite the fact that I wrongly thought it was. Not that it’s important in the context of a job interview for Java developers, whether one uses tail recursion or not. But I thought nevertheless […]