Skip to content

Tag Archives: maths-perfect-square

Given two integers P and Q, the task is to find any two integers whose Greatest Common Divisor(GCD) is P and the difference between their… Read More
Given two integers L and R. The task is to find the sum of all the odd numbers which are perfect square in the range… Read More
Given a series 0, 4, 18, 48, 100 . . .  and an integer N, the task is to find the N-th term of the… Read More
Given an array arr[] consisting of N positive integers, the task is to check if the product of all the elements of the given array… Read More
Given a non-decreasing linked list. The task is to square the elements of the linked list and arrange them in sorted order without using any… Read More
Given a positive integer N, the task is to print all possible sum of perfect squares such that the total sum of all perfect squares… Read More
Given an integer N. The task is to find the number of pairs of integers (x, y) both less than N and greater than 1,… Read More
Given an integer K, the task is to find two consecutive perfect squares whose difference is K. If there don’t exist any such pairs of… Read More
Given a positive integer N, the task is to find the maximum number of unique squares that can be formed with N arbitrary points in… Read More
Given an array arr[](1-based indexing) consisting of N integers, the task is to find the last element remaining element after repeated removal of array element… Read More
Given an array arr[] consisting of N positive integers, the task is to check if the product of elements of every subsequence of the given… Read More

Start Your Coding Journey Now!