Posts from Python

Using bfloat16 with TensorFlow models in Python

By Shubham Kumar Singh

Fellow coders, in this tutorial we are going to learn how to use ‘bfloat16’ with TensorFlow models in Python. When using bfloat16 as opposed to 32 bit often proves to b.... Read More

Pie chart in Python using Seaborn

By Shubham Kumar Singh

Fellow coders, in this tutorial we are going to plot a Pie chart in Python with the help of Seaborn and Matplotlib. We will learn about data visualization and what is the benefit o.... Read More

Next Smaller Number to Right for each element of a list using Stack in Python

By Amrit Pratyay

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

Find unique lines from two .txt files and store the unique new lines in Python

By Saruque Ahamed Mollick

In this tutorial, we will learn how to find only the unique lines from the two .txt files (text files) in Python. We can also say that we will remove the lines that exist in both o.... Read More

Count total number of set bits using Python

By Amrit Pratyay

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

Find an element from a list that repeat more than N/3 times in Python

By Amrit Pratyay

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

How to find a majority element in an Unsorted List in Python

By Amrit Pratyay

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

Find area of container with most water in Python

By Amrit Pratyay

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

Related Posts