Recursive And Non Recursive Algorithms