# Category Archives: School Programming

Given two integers L and R denoting the starting and end values of a range, the task is to count all numbers in that range… Read More
Given an input string N consisting of numerals and separators (, ) in the Indian Numeric System, the task is to print the string after… Read More
Given two positive integers N1 and N2, the task is to find the sum of the products of the same placed digits of the two… Read More
Given a number N, the task is to print the Nth Hogben number.  Hogben Number: In a spiral arrangement of the integers, Hogben Numbers appear… Read More
Given a string S of size N, the task is to count all possible triplets in the given string which consists of only 3 colours… Read More
Given an array arr[] of N integers, the task is to find the product of all the pairs possible from the given array such as: … Read More
Given the size of array N, the task is to construct an array of size N with positive integer elements such that the cube sum… Read More
Given a number N and an array arr[] consisting of K numbers, the task is to find the count of numbers in the array which… Read More
Given a positive integer N, the task is to check whether the count of even divisors and odd divisors of N are equal or not.… Read More
Given the angle in degree, the task is to convert this into radians.Examples:   Input: degree = 45 Output: radian = 0.785398 Input: degree = 58… Read More
Given a number n, we need to find the last digit in factorial n. Input : n = 4Output : 44! = 4 * 3… Read More
Given a number n, we need to find the last digit of 2n  Input : n = 4 Output : 6 The last digit in 2^4 =… Read More
Given an integer N, the task is to check if the number is a Prime power number. If yes, then print the number along with… Read More
Given a string S of lowercase English alphabets, the task is to check if there exists an arrangement of string S such that it doesn’t… Read More
Given an array arr[] of size N, the task is to find the number of valley points in the array. Valley Point: Any elements of… Read More