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 to change the length... Read more

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... Read more

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 or... Read more

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 The Tower of... Read more

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 Statemen... Read more

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... Read more

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 int... Read more

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 is kno... Read more

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 from any position in the ar... Read more

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 vali... Read more