## Check if the sum of perfect squares in an array is divisible by x

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 »

- Find the smallest positive number missing from an unsorted array | Set 2
- Merge k sorted arrays | Set 2 (Different Sized Arrays)
- Maximum sum in circular array such that no two elements are adjacent
- Minimum number of items to be delivered
- Program to find the Hidden Number
- Calculate the total fine to be collected
- Next Smaller Element
- Amazon Interview Experience
- Next greater element in same order as input
- Longest subarray having average greater than or equal to x
- Elements that occurred only once in the array
- Length of the longest Subarray with only Even Elements
- Print all pairs with given sum
- Coin game of two corners (Greedy Approach)
- Sum of all odd frequency elements in an array
- Maximum Product Subarray | Set 3
- For each element in 1st array count elements less than or equal to it in 2nd array | Set 2
- Maximum profit after buying and selling the stocks
- Design a Hit Counter
- Sort elements by frequency | Set 5 (using Java Map)
- Find triplets in an array whose AND is maximum
- Number of elements that can be seen from right side
- Check if an array is sorted and rotated clockwise
- Remove duplicates from unsorted array
- Largest subarray having sum greater than k
- Sandvine Interview Experience for FTE 2018
- Minimum number of swaps required to sort an array | Set 2
- Number of subsets with sum divisible by m
- Sort first k values in ascending order and remaining n-k values in descending order
- Check whether an Array is Subarray of another Array

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 an array arr[] of N integers and an index range [a, b]. The task is to sort the array in this given index range… Read More »

Given an array of strings dates[], the task is to sort these dates in ascending order. Note: Each date is of the form dd mmm… Read More »

Given two arrays of size N and two integers X and Y indicating the maximum number of elements one can pick from array A and… Read More »

Given a string str containing numbers and alphabets, the task is to find all the numbers in str using regular expression. Examples: Input: abcd11gdf15hnnn678hh4 Output:… Read More »

Given an array arr of N (even) integer elements. The task is to check if it is possible to reorder the elements of the array… Read More »

Given an array of integers arr[], the task is to count the number of valid pairs of elements from arr. A pair (arr[x], arr[y]) is… Read More »

Given an array arr[] of N integers. The task is to find the sum of the elements which have frequencies greater than or equal to… Read More »

Given an array of integers. The task is to find the maximum sum of all the elements of the array after performing the given two… Read More »

Given a file containing data of student name and marks scored by him/her in 3 subjects. The task is to find the list of students… Read More »

Given an array of N integers. Each element in the array occurs same number of times except one element. The task is to find this… Read More »

Given an array of N integers. The task is to find the smallest index of an element such that when multiplied by -1 the sum… Read More »

Given an array of distinct integers arr[], the task is to find a pair which has the minimum sum and print the sum. Examples: Input:… Read More »

Given two arrays of positive integers A and B of sizes M and N respectively, the task is to push A[i] + B[i] into a… Read More »

Given an array of integers, find the closest smaller or same element for every element. If all elements are greater for an element, then print… Read More »