Given an array of strings arr[] and two integers l and r, the task is to find the number of times the given string str… Read More »

Find the number of zeroes in 155! (A) 30 (B) 38 (C) 42 (D) 44 Answer: (B) Explanation: Multiplication of 2×5 results into 10. So… Read More »

Given an array of positive integers, remove all the occurrences of element to get the maximum sum of the remaining array Examples: Input : arr… Read More »

Given a boolean 2D matrix, find the number of islands. A group of connected 1s forms an island. For example, the below matrix contains 5… Read More »

Given an array arr[] of N integers and queries Q. Queries are of two types: Update a given index ind by X. Find the gcd… Read More »

Given an integer N, the task is to find the length of the longest substring containing only 4’s from the first N characters of the… Read More »

Given a binary tree containing n nodes. The task is to find the sum of all the leaf nodes present at maximum level. Examples: Input:… Read More »

Given an array of N elements. The task is to build a Binary Heap from the given array. The heap can be either Max Heap… Read More »

Given a binary tree, the task is to find the maximum length of the cycle that can be formed by joining any two nodes of… Read More »

Round 1: It was an offline test which consisted of 2 papers, 1st paper has around 20 MCQ’s in Java based on Interfaces, java classes,… Read More »

Given an array arr[] of N elements. At any step, we can delete a number of a different parity from the just previous step, i.e.,… Read More »

Given two integer x and y, the task is to find the HCF of the numbers without using recursion or Euclidean method. Examples: Input: x… Read More »

Given an integer N. The task is to find the number of divisors of all the numbers in the range [1, N]. Examples: Input: N… Read More »

Data Structures and Algorithms are one of the most important skills that every computer science student must-have. It is often seen that people with good… Read More »

Given a number N, the task is to find the sum of digits of a number at even and odd places. Examples: Input: N =… Read More »

Function Point (FP) is an element of software development which helps to approximate the cost of development early in the process. It may measures functionality… Read More »

Implicitly Typed Local Variables – var are those variables which are declared without specifying the .NET type explicitly. In implicitly typed variable, the type of… Read More »

In CSS we align items horizontally and vertically. Various methods and techniques are used to center them, take care of the left and the right… Read More »

Given an array of N elements. The task is to split the elements into two arrays say a1[] and a2[] such that one contains strictly… Read More »

Given an array arr[] of N integers, the task is to select an integer x (which may or may not be present in the array)… Read More »