Skip to content

Tag Archives: Numbers

Given an array arr[] consisting of N integers, the task is to find the expression by using parenthesis ‘(‘ and ‘)’ and division operator ‘/’… Read More
Given a positive number N, the task is to find the sum of the first (N + 1) Fibonacci Numbers. Examples: Input: N = 3Output:… Read More
Given an array arr[] of size N, the task is to check if it is possible to convert all of the array elements to a… Read More
Given two integers A and B, the task is to count the number of pronic numbers that are present in the range [A, B]. Examples:… Read More
Given an integer D, the task is to find the count of all possible positive integers N such that reverse(N) = N + D. Examples:… Read More
Given an integer N, the task is to count the number of ways to represent N as the sum of powers of 2. Examples: Input:… Read More
Given an integer pixel representing the width of a box in pixels, the task is to convert pixel into their equivalent value measured in rem… Read More
Given a positive integer N, the task is to find the permutation of first N natural numbers such that the product of Bitwise AND(&) of… Read More
Given two positive integers L and R, the task is to find the count of ordered pairs in the range [L, R] such that the… Read More
Given three positive integers, P, Q and N, the task is to find the GCD of (PN + QN) and (P – Q) under modulo… Read More
Given an infinite number line from the range [-INFINITY, +INFINITY] and an integer N, the task is to find the minimum count of moves required… Read More
Given an integer centimeter, representing a length measured in centimetre, the task is to convert it into its equivalent value measured in pixels. Examples: Input:… Read More
Given an integer N, the task is to find the decimal value of the binary string formed by concatenating the binary representations of all numbers… Read More
Given an array arr[] of size N, the task is to find the maximum sum non-empty subsequence present in the given array. Examples: Input: arr[]… Read More
Given an integer N. A number guessing game is a simple guessing game where a user is supposed to guess a number between 0 and… Read More

Start Your Coding Journey Now!