## Remove Element Leetcode Solution

Given an integer array nums and an integer val, remove all occurrences of val in nums in-place. The relative order of the elements may be changed. Since it is impossible …

## Remove Duplicates from Sorted Array II

Given an integer array nums sorted in non-decreasing order, remove some duplicates in-place such that each unique element appears at most twice. The relative order of the elements should be …

## Remove Duplicates from Sorted Array

Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each unique element appears only once. The relative order of the elements should be kept the same. Since it is impossible to change the …

## Tower of Hanoi Python Program

If you’re looking for the Tower of Hanoi python program then you’ve reached the right place. In this blog, we will see the python program. History of Tower of Hanoi …

## Two Sum Leetcode Solution

Hello coders, Today we will see the solution ” Two Sum Leetcode Solution ” and both java and python programming languages. Let’s see the problem statement. Problem Statement: Given an …

## Maximum Subarray Leetcode Solution

Hello coders, Today we will see another Leetcode problem that is ” Maximum Subarray Leetcode Solution “. This problem is also a variance of subset sum problem. Let’s first see …

## Contains Duplicate Leetcode Solution

Hello coders, In this article, I am going to write another solution for another Leetcode Problem that is ” Contains Duplicate Leetcode Solution “. Problem statement: Given an integer array nums, …

## Find the Duplicate Number Leetcode Solution

Hello coders, Today I am going to solve another Leetcode problem titled ” Find the Duplicate Number Leetcode Solution “. As we know any number which appears more than once …

## Check if it possible to jump to last position of Array

Check if it possible to jump to last position of Array Given an array with positive integers as elements indicating the maximum length of a jump which can be made …

## Validating phone numbers Hackerrank solution

Validating phone numbers Hackerrank solution Let’s dive into the interesting topic of regular expressions! You are given some input, and you are required to check whether they are valid mobile …