SQL (Structured Query Language) allows us to select, update, create or delete records on a single table in a relational database. But what if we… Read More
Although many of us are already aware of Microsoft Excel, let us still have a basic introduction to it. Microsoft Excel is a very powerful… Read More
Morgan Stanley was one of the first organizations that arrived in our college for on-campus placement. Around 388 students from my university were shortlisted to… Read More
Given four arrays A[], B[], C[], D[] and an integer K. The task is to find the number of combinations of four unique indices p,… Read More
Given an array of strings arr[] of size N. Each of the strings contains lowercase English letters or numbers only. The task is to find… Read More
Given an integer N denoting the size of an array and the bitwise AND (K) of all elements of the array. The task is to determine… Read More
Given an integer N, the task is to find the minimum number of steps to obtain N from M (M = 1 initially). In each… Read More
Given a binary string str, the task is to determine if string str can be converted into a palindrome in K moves. In one move… Read More
Given a binary sequence of 1‘s and 0‘s. Our task is to remove all 1s from the sequence in minimum cost by below operations. Remove… Read More
Given an array A of n integers and two integers p and q, the task is to increase some (or all) of the values in… Read More
Given an array A of size n, the task is to check if the array can be sorted in increasing order, if the only operation… Read More
Given a range [L, R] and an integer K, the task is to check if it is possible to make the GCD of all integers… Read More
Given an integer N, the task is to find the sum of all values of N after repeatedly dividing it with its smallest factor. Examples:… Read More
Given an array arr[] of size N, the task is to find the number of pairs of the array upon removing which the mean (i.e.… Read More
Given two numeric strings S and Target, and integers X, M. The task is to check if string S can be converted into string Target… Read More
Given an array arr of length N and two integers K and X. For every element arri in the array, if arri > 0 then… Read More


