## Maximum sum of increasing order elements from n arrays

Given n arrays of size m eacg. Find maximum sum obtained by selecting a number from each array such that the elements selected from i-th… Read More »

Given n arrays of size m eacg. Find maximum sum obtained by selecting a number from each array such that the elements selected from i-th… Read More »

You are given an array A[] of n-elements and a positive integer k. Now you have find the number of pairs Ai, Aj such that… Read More »

Given a linked list of characters. The task is to find the maximum occurring character in the linked list. if their are multiple answer return… Read More »

Given N numbers with no duplicates, count the number of unique triplets (ai, aj, ak) such that their XOR is 0. A triplet is said… Read More »

You are given an array of n-elements with a basic condition that occurrence of greatest element is more than once. You have to find the… Read More »

Given a string s, find length of the longest prefix which is also suffix. The prefix and suffix should not overlap. Examples: Input : aabcdaabc… Read More »

Given an array and an integer k, traverse the array and if the element in array is k, double the value of k and continue… Read More »

We have a sorted array with duplicate elements and we have to find the index of last duplicate element and print index of it and… Read More »

There is a m*n rectangular matrix whose top-left(start) location is (1, 1) and bottom-right(end) location is (m*n). There are k circles each with radius r.… Read More »

Given an array of numbers, find the number among them such that all numbers are divisible by it. If not possible print -1. Examples: Input… Read More »

Given very large array of integers, find maximum within the array using multhreading. Examples: Input : 1, 5, 7, 10, 12, 14, 15, 18, 20,… Read More »

Given two sorted matrices mat1 and mat2 of size n x n of distinct elements. Given a value x. The problem is to count all… Read More »

Given a large file of integers, search for a particular element in it using multi-threading. Examples: Input : 1, 5, 7, 10, 12, 14, 15,… Read More »

Given a matrix, find the maximum sum we can have by selecting just one element from every row. Condition is element selected from nth row… Read More »

Given a n x n strictly sorted matrix and a value x. The problem is to count the elements smaller than or equal to x… Read More »