## Find the second largest number in the array

In this Post, I am going to discuss how to find the second largest number in the array. So, without wasting time, let’s start I am going to discuss the problem by using Java Collections….

## String Anagram Program In C | Easy Explanation

So, In this post, we are going to discuss the program and algorithm of anagram In C/C++/Java. What matters is only the algorithm, If you better understand the Algorithm you can code in any language…

## A-Good String: Codeforces 1385 D: Explained

This is another editorial post of the code forces problem a-Good String. Detailed Editorial In this problem our task is to find the minimum number of moves required to obtain a-good string from the given…

## Hilbert’s Hotel Editorial | Explained | CodeForces

This is another editorial post of the code forces problem Hilbert’s Hotel. Problem Hilbert’s Hotel is a very unusual hotel since the number of rooms is infinite! In fact, there is exactly one room for…

## Little Girl and Maximum Sum, Editorial | Codeforces

This is an editorial post of the codeforces problem Little Girl and Maximum Sum. Detailed Editorial If you observe the problem statement carefully, it is a range sum query problem that can be easily done…

## Mashmokh and ACM Editorial | GeeksToCode

This is an editorial post of the code forces problem Mashmokh and ACM. Problem Statement Mashmokh’s boss, Bimokh, didn’t like Mashmokh. So he fired him. Mashmokh decided to go to university and participate in ACM…

## Easiest Explanation of Angry Delta , Editorial Codechef

This is the Angry Delta Editorial Codechef. One day, Delta, the dog, got very angry. He has N items with different values, and he decided to destroy a few of them. However, Delta loves his…

## The Painter’s Partition Problem

In this post, we are going to discuss a famous Binary Search problem that is The Painter’s Partition Problem. Also, I am going to discuss a general way to tackle some

## Problems on Topological Sorting

In the previous post, we discussed Topological Sorting and in this post, we are going to discuss two problems based on it. So, let’s start. Leetcode 210 :  Course Schedule II There are a total…

## Clone a link list with next and random Pointer (Part II)

In the previous post, we have already discussed the map-based solution of the problem clone a link list with next and random pointer. The map-based solution took O(n) extra space but in this post, we…