Skip to content

Category Archives: Searching

You are given a 2D grid of values 0 or 1, where each 1 marks the home of someone in a group. And the group… Read More
Given a sorted array of length n, find the number in array that appears more than or equal to n/2 times. It is given that… Read More
Given an array of integers you have to find three numbers such that sum of two elements equals the third element. Examples: Input : {5,… Read More
Given an array “a[]” and integer “b”. Find whether b is present in a[] or not. If present, then double the value of b and… Read More
Round 1: This was the round to filter 80 students out of 260 students, who appeared for the Online Quants test. It was open for… Read More
Round 1: This was the round to filter 86 students out of 260 students, who appeared for the Online Quants test (organised by HirePro). It… Read More
An array containing positive elements is given. ‘A’ and ‘B’ are two numbers defining a range. Write a function to check if the array contains… Read More
Given a Linked List, write a function that accepts the head node of the linked list as a parameter and returns the value of node… Read More
Round 1 (APTITUDE) : 20 mcqs in 30 minutes of time -0.25 negative marking Questions were from core computer science subjects and one blood relation… Read More
Given an array and a sum value, find all possible unique triplets in that array whose sum is equal to the given sum value. If… Read More
Round 1 (Online Test): Four Programming Questions- a) Given a string find number of different substrings that are palindromes. b) In a matrix we can… Read More
Given four sorted arrays each of size n of distinct elements. Given a value x. The problem is to count all quadruples(group of four numbers)… Read More
Given a positive value N, we need to find the count of numbers smaller than N such that the difference between the number and sum… Read More
Given a sorted array of consecutive elements. The array has only one element repeated many times. The task is to find length of the sequence… Read More