## Sum of all mersenne numbers present in an array

Given an array of integers arr[], the task is to find the sum of all the Mersenne numbers from the array. A number is a… Read More »

- Find the total guests that are present at the party
- Program to print Step Pattern
- Program to check if two strings are same or not
- Print numbers in matrix diagonal pattern
- Python Program to print digit pattern
- Programs for printing pyramid patterns using recursion
- Program to check if an Array is Palindrome or not
- Replace array elements by sum of next two consecutive elements
- Count the number of holes in an integer
- How to concatenate two Integer values into one?
- Cost of painting n * m grid
- Program to check if a number is divisible by sum of its digits
- Python program to check if given string is vowel Palindrome
- Position of a person diametrically opposite on a circle
- Count Odd and Even numbers in a range from L to R
- Check whether the given character is in upper case, lower case or non alphabetic character
- Check if the given array is mirror-inverse
- Print last character of each word in a string
- Difference between print() and println() in Java
- Count how many times the given digital clock shows identical digits
- Program to calculate product of digits of a number
- Program to find nth term of the series 1 4 15 24 45 60 92
- Check if a binary string contains consecutive same or not
- Find the sum of digits of a number at even and odd places
- Find cost price from given selling price and profit or loss percentage
- Find Pth term of a GP if Mth and Nth terms are given
- Check if it is possible to create a polygon with given n sides
- Difference between High Level and Low level languages
- Difference between while and do-while loop in C, C++, Java
- Minimum value that divides one number and divisible by other

Given an array of integers arr[], the task is to find the sum of all the Mersenne numbers from the array. A number is a… Read More »

Given an array arr[] containing N positive integer. The task is to find the sum of all the perfect numbers from the array. A number… Read More »

while loop: A while loop is a control flow statement that allows code to be executed repeatedly based on a given Boolean condition. The while… Read More »

Given an array arr[] of N positive integers. The task is to find the sum of all palindrome numbers present in the array. Print the… Read More »

Both High level language and low level language are the programming languages’s types. The main difference between high level language and low level language is… Read More »

Given a list of number, the task is to create a new list from the initial list with the condition to append every odd element… Read More »

Given some data in a text file, the task is to scramble the text and output in a separate text file. So, we need to… Read More »

Python is a powerful multi-purpose programming language used by multiple giant companies. It has simple and easy to use syntax making it perfect language for… Read More »

Given an array arr[] of strings, the task is to reorder the strings lexicographically and print their positions in the original list. Examples: Input: arr[]… Read More »

Given three strings A, B and C. Each of these is a string of length N consisting of lowercase English letters. The task is to… Read More »

Given an array arr[] of N integers. The task is to find the sum of factorials of each element of the array. Examples: Input: arr[]… Read More »

Given a number N, the task is to find the sum of digits of a number at even and odd places. Examples: Input: N =… Read More »

You have an unlimited amount of banknotes worth A and B dollars (A not equals to B). You want to pay a total of S dollars using exactly N notes. The… Read More »

Given a string, the task is to print the first and last character of each word in a string. Examples: Input: Geeks for geeks Output:… Read More »

Given a number, the task is to find the product of the digits of a number. Examples: Input: n = 4513 Output: 60 Input: n… Read More »