Jupyter Notebook is equipped with numerous extensions and shortcuts which assist a lot of programmers, developers in their everyday operations. Such operations could be like… Read More

Before getting started with CSS solutions for better web design, let have a brief introduction to CSS. CSS stands for Cascading Style Sheet which is… Read More

Given an array arr[] of N integers, the task is to find the minimum difference from 0 after adding or subtracting any element of the… Read More

Given a graph G(V, E), divide it into two sets such that no two vertices in a set are connected directly. If not possible print… Read More

Given a binary tree, print it vertically. NOTE: If there are multiple nodes at the same point, then print them in sorted order. Examples: Input:… Read More

Given a binary string S consisting of 0’s and 1’s, The task is to find the minimum number of flips required to generate a binary… Read More

Given an array arr[]. The task is to minimize the number of removals to make all the elements in arr[] consecutive. Examples Input: arr[] =… Read More

Pre-requisite: Maximum width of a Binary Tree with null value | Set 1 Given a Binary Tree consisting of N nodes, the task is to… Read More

Given an array arr[] of size N where arr[i] is in the form [xi, yi] denoting a point (xi, yi) on a 2D plane. The… Read More

Given a number N, the task is to find the maximum number of steps convert N to zero where in each step a number m… Read More

Given integers N and K. The task is to construct an array of size N such that sum of all elements is divisible by K… Read More

Given two integers N and M (1 ≤ N, M ≤ 100) denoting the total number of 1s and 0s respectively. The task is to… Read More

Given two numbers N, M in the bases X, Y and another base P. The task is to find the product of N and M… Read More

Given integers L and R, find all numbers in range L to R whose digits are increasing-decreasing alternatively i.e. if the digits in the current… Read More