## Sum of distances between the two nearest perfect squares to all the nodes of the given linked list

Given a linked list, the task is to find the sum of distances between the two nearest perfect squares for all the nodes of the… Read More »

Given a linked list, the task is to find the sum of distances between the two nearest perfect squares for all the nodes of the… Read More »

Given an array of size N in which initially all the elements are 0(zero). The task is to count the number of 1’s in the… Read More »

Given a number N. At every step, subtract the largest perfect square( ≤ N) from N. Repeat this step while N > 0. The task… Read More »

Given an array arr[] containing only prime numbers, the task is to check if the product of the array elements is a perfect square or… Read More »

Given an integer N, the task is to find the smallest and the largest N digit numbers which are also perfect squares. Examples: Input: N… Read More »

Given an integer n, the task is to print n numbers such that their sum is a perfect square. Examples: Input: n = 3 Output:… Read More »

Given a range [n, m], the task is to find the number of elements that have even number of factors in the given range (n… Read More »

Given an array arr[], the task is to find the smallest perfect square which is divisible by all the elements of the given array. Examples:… Read More »

We need to check whether a number is a perfect square or not without finding its square root. Examples: Input : n = 36 Output… Read More »

Given a number N. The task is to count total numbers under N which are both perfect square and cube of some integers. Examples: Input:… Read More »

Given a positive integer . The task is to find the perfect square number closest to N and steps required to reach this number from… Read More »

Given an array arr[] and an integer x, the task is to check whether the sum of all the perfect squares from the array is… Read More »

Given a positive integer N. Find the largest divisor of the given number that is not divisible by a perfect square greater than 1. Examples:… Read More »

Given an integer N, the task is to count the number of triplets (a, b, c) such that a2 + b2 = c2 and 1… Read More »

Given an array of distinct elements, the task is to find the total number of two element pairs from the array whose sum is a… Read More »