r/codinginterview • • Apr 28 '20

Head and Tail Recursion

https://www.rubyplus.net/2020/04/head-and-tail-recursion.html
3 Upvotes

1 comment sorted by

1

u/bparanj Apr 28 '20

Before you see the solution in the given link, write a recursive program to print numbers in ascending and descending order.