Basic Questions
Sum of Natural Numbers
Code
Decimal to Binary COnversion
Code
Modulo Operation
Code
Find String Length
Code
Reverse a String
Code
Check if string is Palindrome
Code
Count Vowels in a String
Code
Sum of numbers in a Singly Linked List
Code
Note: Once you have understood the above examples, try to solve the following problems on your own. (
Using Recursion)
Extra Problems
- Print numbers from 1 to n
- Print numbers from n to 1