Recursive algorithms involve methods that call themselves, non-recursive alternatives typically involve while loops. Given the question it is a hard to provide further advice...I recommend reading...