MindTouch, Inc. interview question

recursive and iterative looping