PROBLEM DESCRIPTION Given an integer array nums, return the greatest common divisor of the smallest number and largest number in nums. The greatest common divisor of two numbers is the largest pos...
PROBLEM DESCRIPTION Given an integer array A of size N. You have to delete one element such that the GCD(Greatest common divisor) of the remaining array is maximum. Find the maximum value of GCD. ...
Problem Description Given a list of elements (an array) and a postive integer m, replace all elments such that Array[i] = Array[Array[i]]. All elements in the array are in the range [0, N-1]. Sol...
Count pairs in array divisible by K
Find Greatest Common Divisor of Array