Posts by Amrit Pratyay
Author Biographical Info: Not available
In this tutorial, we will return the list of the next smaller number to right for each element of a list in Python. Problem Statement: Given a list, find the next smaller number to.... Read More
In this tutorial, we will find the total number of set bits present in an integer with Python program. This question will show the importance of the Bit Manipulation concept. What .... Read More
In this tutorial, we will find an element from a list that repeats more than N/3 times in Python. This question is asked in many interview/coding rounds. Problem Statement for find.... Read More
In this tutorial, we will see how to find a majority element from an unsorted list using Python. Here, the definition of the majority element will be defined below in the problem .... Read More
In this tutorial, we will solve a problem in which we will find the area of the container which contains maximum water i.e, finding the maximum area of the container in Python. Pro.... Read More
In this article, we will see if the given array/list can be partitioned into two subsets such that both have equal sums in Python. It means we will do a partition in an array or li.... Read More
In this lesson, we will learn and solve how to print the Kth Row of Pascal’s triangle in Python using simple operations. Start with the definition of Pascal’s Triangle. Pas.... Read More