The Wayback Machine - https://web.archive.org/web/20211008211220/https://www.geeksforgeeks.org/hard/9/
Skip to content
All Hard Articles
Given two integers N and X, the task is to generate an array of size N, such that the prefix xor array of X with… Read More
Got an offer from Amazon! Here is my experience. I do not have a degree in CS and learned on my own (no Bootcamp). You… Read More
Three characters {#, *, . } represents a constellation of stars and galaxies in space. Each galaxy is demarcated by # characters. There can be… Read More
Given a positive integer N, the task is to find the number of ways to fill the board of dimension 2*N with a tile of… Read More
Given a string S consisting of N digits, the task is to find the number of distinct Prime Numbers that can be formed using the… Read More
Java program for generating the calendar of any desired year and month let us first go through an illustration before landing upon logic and procedural… Read More
The process of extracting required data/information from a web page by accessing the HTML of the web page is called Web Scraping or Web Harvesting… Read More
Overlays let independent child widgets float visual elements on top of other widgets by inserting them into the overlay’s Stack. This article discusses the implementation… Read More
Arcesium started an FTE pool drive for some selected IITs and NITs in June 2021. All the eligible candidates were shortlisted for the online test.… Read More
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
Given a string S consisting of N digits, the task is to print all possible combinations of the digits of the S that is a… 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 size N, the task is to print the minimum number of moves required to make all array elements equal by… 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