## Rotate Array Leetcode Solution

Hello coders, Today I am going to solve the problem ” Rotate Array Leetcode Solution “. I have found a solution for it in Java but its time efficiency is not good and it beat only 6% of the submissions. As of now, I will post that so... Read more

## Reverse Words in a String III Leetcode Solution

Hello coders, I am here with another problem of Leetcode ” Reverse Words in a String III Leetcode Solution “. In this blog, we will see how to solve this Leetcode Problem within the time limit. Problem Statement: Given a string s, re... Read more

## Intersection of Two Arrays Leetcode Solution

Hello coders, Today we are going to solve another problem of Leetcode ” Intersection of Two Arrays Leetcode Solution “. In this blog, we will how to solve this problem in java. I hope you have already read the problem statement and i... Read more

## Majority Element Leetcode Solution

Hello codes, Today I am going to solve another Leetcode problem ” Majority Element Leetcode Solution “. The solution will be in java. Problem statement: Given an array nums of size n, return the majority element. The majority element... Read more

## Reverse String Leetcode Solution

Hello coders, In this blog, ” Reverse String Leetcode Solution “. We will see how to solve this problem using Java language. You must have seen problems similar to this, You just need to write a function that reverses the string. Let... Read more

## Coin Piles CSES Solution

Hello coders, Today we will see how to solve the ” Coin Piles CSES Solution “. The problems from CSES are a little bit trickier in comparison to HackerRank. So I suggest you, don’t hurry your self looking for a solution. Try to... Read more

## Trailing Zeros CSES Solution

In this article, We will see another problem of CSES which is ” Trailing Zeros CSES Solution “. In this problem, we have to find the number of trailing zeros after calculating n! Let’s see the problem statement. Problem stateme... Read more

## Two Sets CSES Solution

In this article, We will see how to solve for ” Two Sets CSES Solution “. This problem is from the CSES problem set. This problem is really good and broadens your approach to thinking efficiently and optimally. Let’s see the Pr... Read more

## Two Knights CSES Solution

In this article, we will solve this problem of the “Two Knights CSES solution “. We will use java language to implement this problem, you can use your preferred language. Your task is to count for k=1,2,…,n the number of ways two kni... Read more

## Number Spiral CSES Solution

A number spiral is an infinite grid whose upper-left square has the number 1. Here are the first five layers of the spiral:Your task is to find out the number in row y and column x. Input The first input line contains an integer tt: the num... Read more