## Find First Repeating Element In An Array

We are going to find the First Repeating Element In An Array but before this, I hope you know what the array, binary search, set is. I am not going to make this post long…

## Factorial Using Recursion | Explained

Finding factorial using recursion is not any rocket science, Here I am going to explain both methods. But let’s have a look at what factorial and recursion is. Factorial: factorial of number is defined as,…

## How To Sort String In C++ | 2 Different Ways

Sorting is very important in Competitive Programming. Here, we are going to discuss How to sort string in C++ in 2 different ways. Sorting String refers to Sorting Multiple String or Sorting characters of One…

## 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…

## Basketball Exercise Codeforce 1195C Editorial Explained

This is another editorial post of the codeforce problem Basketball Exercise. Detailed BasketBall Exercise Editorial The problem is basically a DP problem where we have the choice to choose such that  no consecutive chosen students…

## 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…

## Java Program To Check Least Significant Bit Of Number is Set or Not

Need to check the Least Significant bit is set or not. You are in the right place. I am going to explain how to check the least significant bit is set which means 1 or…

## Modular Arithmetics Explained

In this post, we are going to discuss Modular Arithmetics Operations and some problems based on it. Modular Arithmetics is been used frequently in Competitive Programming and we will discuss every bit of it, so…

## Island problems (Graph)

In the previous post, we discussed Graph Colouring and we will continue with some Island Problems related to Graph. In this post, we will solve some island problems from leet code which are asked in…