Given a positive integer N. The task is to compute the sum of factorial from 1! to N!, 1! + 2! + 3! + …… Read More
Category Archives: Mathematical
Given an integer x, the task is to find if every k-cycle shift on the element produces a number greater than or equal to the… Read More
Given an integer x, the task is to find if every k-cycle shift on the element produces a number greater than or equal to the… Read More
Given an integer x, the task is to find if every k-cycle shift on the element produces a number greater than or equal to the… Read More
Given an integer x, the task is to find if every k-cycle shift on the element produces a number greater than or equal to the… Read More
Given an integer x, the task is to find if every k-cycle shift on the element produces a number greater than or equal to the… Read More
Given an array arr[] of integers of size N, the task is to maximize the sum of the array after removing valleys from the array… Read More
Given a binary tree and a number K, the task is to count the number of nodes having the average of the values in their… Read More
Given an array arr[] of odd length N containing positive integers. The task is to find a positive integer X such that, adding X to… Read More
Given an integer N, find the minimum number of operations to reduce N to 1 by using the following two operations: Multiply N by 2… Read More