Given an array A of n integers. The task is to find the sum of minimum of all possible (contiguous) subarray of A. Examples: Input:… Read More »

Given a string consisting of only 0’s and 1’s. Now you are given N non-intersecting ranges L, R ( L <= R), more specifically [L1,… Read More »

One can use a variety of network tools to perform tasks such as obtaining information about other systems on your network, accessing other systems, and… Read More »

Using isset() Function The isset() function is an inbuilt function in PHP which checks whether a variable is set and is not NULL. This function… Read More »

Test: Find first non-repeating character in the string. Input: “aabcbd” Output: c K-reverse linked list Input: 1 2 3 4 5 -1 k = 3… Read More »

Seventeen members shortlisted after the initial online test, all from computer science dept. The online test consisted of four sections: Qunat, Aptitude, English and two… Read More »

A solid, n-inch cube of wood is coated with blue paint on all six sides. Then the cube is cut into smaller one-inch cubes. These… Read More »

The Coin Change Problem is considered by many to be essential to understanding the paradigm of programming known as Dynamic Programming. The two often are… Read More »

Given a boolean 2D matrix. The task is to find the number of distinct islands where a group of connected 1s (horizontally or vertically) forms… Read More »

Geek on the top is all about success stories of Geeks who are working hard to chase their goals and are an inspiration for other… Read More »

Given one side of right angle triangle, check if there exists a right angle triangle possible with any other two sides of the triangle. If… Read More »

Round 1: It was held oh hackerrank platform consist of 4 coding questions in 1 hr and 50 minutes. Q1. https://www.hackerrank.com/challenges/cut-the-sticks/problem Q2. A string is… Read More »

Given an array of positive integers of size n. Find the count of the triplets whose AND is maximum and also find that maximum given… Read More »

Given a number m, find all numbers which have m digits and are a divisor of their right-rotation. Right-rotation of a number N is the… Read More »

Given an array ‘arr’ of length ‘n’. The task is to find the largest contiguous sub-array having the count of prime numbers strictly greater than… Read More »

Given an array of n size contains the cost of sweets in such a way that that sweet[i] is the cost of i sweets. The… Read More »

MAKEMYTRIP On-Campus for FTE Makemytrip visited our campus for Placements. There were total 5 rounds (1 coding + 2 technical + 1 design + 1… Read More »

Impedance mismatch is basically the term used to refer to the problems that basically occurs due to differences between the database model and the programming… Read More »

The Imagick::edgeImage() function is an inbuilt function in PHP which is used to enhance the edges within the image. It enhance the edges with the… Read More »

Given an array A having N elements and two integers L and R where, and . You can choose any element of the array (let’s… Read More »