Day 17

Today, I did a few more problems using recursion.

> Check if array is sorted or not

> Print Natural Numbers given N (ascending and descending)

> Find occurrence of a Number in an Array (both, first as well as last)

(Edit)

> Reverse a string

> Replacing all occurrences of ‘pi’ in a string with 3.14.

Leave a comment

Design a site like this with WordPress.com
Get started