1. Positive or Negative Numbers
2. Even or Odd Numbers
3. Sum of First N Natural numbers
4. Sum of N natural numbers
5. Sum of numbers in a given range
6. Greatest of two numbers
7. Greatest of the Three numbers
8. Leap year or not
9. Prime number
10. Prime number within a given range
11. Sum of digits of a number
12. Reverse of a number
13. Palindrome Number
14. Armstrong Number
15. Armstrong Number in a given range
16. Fibonacci Series upto nth term
17. Find the Nth Term of the Fibonacci Series
18. Factorial of a number
19. Power of a number
20. Factor of a number
21. Finding Prime Factors of a number
22. Strong number
23. Perfect number
24. Perfect Square
25. Automorphic number
26. Harshad number
27. Abundant number
28. Friendly pair
1. Highest Common Factor(HCF)
2. Lowest Common Multiple(LCM)
3. Greatest Common Divisor
4. Binary to Decimal Conversion
5. Octal to Decimal Conversion
6. Hexadecimal to Decimal Conversion
7. Decimal to Binary Conversion
8. Decimal to Octal Conversion
9. Decimal to Hexadecimal Conversion
10. Binary to Octal Conversion
11. Octal to Binary Conversion
12. Quadrants in which a given coordinate lies
13. Permutations in which n people can occupy r seats in a classroom
14. Maximum number of handshakes
15. Addition of two fractions
16. Replace all 0’s with 1 in a given integer
17. Can a number be expressed as a sum of two prime numbers
18. Count possible decoding of a given digit sequence
19. Calculate the area of a circle
20. Find the prime numbers between 1 to 100
21. Calculate the number of digits in an integer
22. Convert digit/number to words.
23. Counting number of days in a given month of a year
24. Finding Number of times x digit occurs in a given input
25. Finding number of integers which has exactly x divisors
26. Finding Roots of a quadratic equation
1. Power of a Number
2. Prime Number
3. Largest element in an array
4. Smallest element in an array
5. Reversing a Number
6. HCF of two numbers
7. LCM of two numbers
8. Program to calculate length of the string using recursion
9. Print All Permutations of a String
10. Given an integer N the task to print the F(N)th term.
11. Given a list arr of N integers, print sums of all subsets in it
12. Last non-zero digit in factorial
13. Given a positive integer N, return the Nth row of pascal’s triangle
14. Given an integer N representing the number of pairs of parentheses, the task is to generate all combinations of well-formed(balanced) parentheses
15. Find the Factorial of a number using recursion
16. Find all possible Palindromic partitions of the given String
17. Find all the N bit binary numbers having more than or equal 1’s than 0’s
18. Given a set of positive integers, find all its subsets
19. Given a string s, remove all its adjacent duplicate characters recursively
1. Find Largest element in an array
2. Find Smallest element in an array
3. Find the Smallest and largest element in an array
4. Find Second Smallest Element in an Array
5. Calculate the sum of elements in an array
6. Reverse an Array
7. Sort first half in ascending order and second half in descending
8. Sort the elements of an array
9. Finding the frequency of elements in an array.
10. Sorting elements of an array by frequency
11. Finding the Longest Palindrome in an Array
12. Counting Distinct Elements in an Array.
13. Finding Repeating elements in an Array
14. Finding Non Repeating elements in an Array
15. Removing Duplicate elements from an array
16. Finding Minimum scalar product of two vectors
17. Finding Maximum scalar product of two vectors in an array
18. Counting the number of even and odd elements in an array
19. Find all Symmetric pairs in an array
20. Find maximum product sub-array in a given array
21. Finding Arrays are disjoint or not
22. Determine Array is a subset of another array or not
23. Determine can all numbers of an array be made equal
24. Finding Minimum sum of absolute difference of given array
25. Sort an array according to the order defined by another array
26. Replace each element of the array by its rank in the array
27. Finding equilibrium index of an array
28. Rotation of elements of array- left and right
29. Block swap algorithm for array rotation
30. Juggling algorithm for array rotation
31. Finding Circular rotation of an array by K positions
32. Balanced Parenthesis Problem
1. Check whether a character is a vowel or consonant.
2. Check whether a character is a alphabet or not
3. Find the ASCII value of a character
4. Length of the string without using strlen() function
5. Toggle each character in a string
6. Count the number of vowels
7. Remove the vowels from a String
8. Check if the given string is Palindrome or not
9. Print the given string in reverse order.
10. Remove all characters from string except alphabets.
11. Remove spaces from a string
12. Remove brackets from an algebraic expression
13. Count the sum of numbers in a string
14. Capitalize the first and last character to each word of a string
15. Calculate frequency of characters in a string
16. Find non-repeating characters in a string
17. Check if two strings are Anagram or not.
18. Replace a sub-string in a string
19. Replacing a particular word with another word in a string
20. Count common sub-sequence in two strings
21. Check if two strings match where one string contains wildcard characters.
22. Print all permutations of a given string in lexicographically sorted order.