Given the series 2, 8, 18, 32, 50…, find the Nth term of the series. Examples: Input: N = 1Output: 2 Input: N = 3Output:… Read More
Category Archives: Mathematical
Given a positive integer N, the task is to find the Nth term of the series 0, 2, 6, 12, 20…till N terms Examples: Input:… Read More
Given a positive integer N, the task is to find the Nth term of the series 0, 6, 24, 60, 120…till N terms Examples: Input:… Read More
Given a positive integer N, the task is to find the sum of the first N terms of the series 2, 5, 8, 11, 14..… Read More
Given a positive integer N, the task is to find the Nth term of the series 5, 10, 20, 40….till N terms Examples: Input: N… Read More
Given a positive integer N, the task is to find the Nth term of the series 3, 10, 21, 36, 55…till N terms Examples: Input:… Read More
Given a natural number N, the task is to find the Nth term of the series 0, 9, 24, 45, . . . .till N… Read More
Given an integer N, the task is to find the Nth term of the series 2, 8, 18, 32, 50, ….till N terms Examples: Input:… Read More
Given an array A[ ] consisting of N distinct integers, the task is to find the number of elements which are strictly greater than all… Read More
Given an array A[ ] consisting of N distinct integers, the task is to find the number of elements which are strictly greater than all… Read More
Given three positive integers A, B, and C, the task is to find out that, if we divide any one of them with any integer… Read More
Given 3 positive integers A, B, and C. Choose a positive integer M and multiply any one of A, B, or C with M. The… Read More
Given an integer N, the task is to find the number of distinct values possible for the bit-wise XOR of X and Y where 1… Read More
Given an array arr[] of size N. The task is to count the number of unique subsets. Examples: Input: arr[] = {1, 2, 2}Output: 6Explanation:… Read More
Given an NxN square matrix M[][]. The task is to check whether the matrix M is a zero division matrix or not. A matrix is… Read More