Skip to content
All Hard Articles
Given a 2D array grid[][] of size N * M, consisting of the characters “1”, “0”, and “*”, where “*” denotes an empty space and… Read More
Prerequisites – Graph, Spanning tree, Disjoint Set (Union – Find). A minimum spanning tree (MST) T, for a given graph G, spans over all vertices… Read More
Given an array arr[] of size N. The task is to maximize the count of subarrays that contain both the minimum and maximum elements of… Read More
In this article, we are going to make a simple avatar generator app that generates random images. In this avatar generator, we have several buttons… Read More
Gnome Sort also called Stupid sort, is based on the concept of a Garden Gnome sorting his flower pots. In order to know more about… Read More
Given an array arr[] of positive integers representing prices of stocks and an integer transactionFee, the task is to find the maximum profit possible after… Read More
Given three strings S, S1, and S2 consisting of N, M, and K characters respectively, the task is to modify the string S by replacing… Read More
Comb Sort is mainly an improvement over Bubble Sort. Comb Sort improves on Bubble Sort by using a gap of the size of more than… Read More
DE Shaw held an on-campus recruitment drive for the position of SDE intern (2 months) in our campus in the first week of August 2020.… Read More
Introduction: Handwritten digit recognition using MNIST dataset is a major project made with the help of Neural Network. It basically detects the scanned images of… Read More
Having a dark mode on your website or application has become very popular nowadays. In this article, you will learn how to add a dark… Read More
Annotations are a form of metadata that provide information about the program but are not a part of the program itself. An Annotation does not… Read More
Automation Testing is undoubtedly flourishing in the current times by replacing the traditional Manual Testing practices within the organizations. All this is happening as automation… Read More
Given a directed and weighted graph of N nodes and M edges, the task is to find the 1st to Kth shortest path lengths from… Read More
In this article, we will discuss how to track the current location of ISS(International Space Station) and then maps the location. We will write a… Read More
Given an array arr[] consisting of N strings and Q queries in form of two strings prefix and suffix, the task for each query is… Read More
Given two arrays L[] and R[] of size N, and an integer K, the task is to find the number of ways to select exact… Read More
So imagine that we’re starting a new restaurant or being appointed as one of the employees in a restaurant company, and we find out that… Read More
Given a string S consisting of N characters, the task is to find the minimum number of pairs of characters that are required to be… Read More
Given an array arr[][] consisting of N pairs such that each pair {L, R} represents that ith house can be painted in L number of… Read More