math.factorial() in Python with examples

By Ayush R Sachan

We know that Python is a high-level programming language that provides multiple modules to make coding easy and efficient. One of such modules is ‘math’, which provides.... Read More

Find Minimum edges to reverse to make path from a source to a destination in C++

By Siddharth Raja

In this tutorial, we will see how to make a path from source to destination of a graph by reversing the minimum number of edges. Consider a directed graph G with source node as 0(z.... Read More

Count set bits in an integer using Brian Kernighan Algorithm in C++

By Ayush Singh

This article will guide you on how to write an efficient program to count the number of 1s in the binary representation of an integer using Brian Kernighan’s algorithm in C++.... Read More

return vs exit() in main() in C++ with examples

By Siddharth Raja

In this tutorial, we will see the difference between using exit() and return inside the main() function. In C++ return is a keyword that returns the flow of execution to the callin.... Read More

Non-overlapping sum of two sets in Python

By Meetali Tomer

In this tutorial, we will learn how to find the non-overlapping sum of two sets in Python. Problem Statement– We are given two sets, we have to find the sum of all elements w.... Read More

Solve ValueError: Error when checking target in Keras

By Prantik Sarkar

This article will help you solve ValueError: Error when checking targetĀ in Keras which we usually encounter while working with neural networks in Deep Learning. You will learn how.... Read More

Chunking Rules in NLP

By Prantik Sarkar

To be able to gain more information from a text in Natural Language Processing, we preprocess the text using various techniques such as stemming/ lemmatization, ‘stopwords.... Read More

Walrus Operator in Python

By Abhay Shah

In the following tutorial, we will learn about the Walrus Operator in Python. What is the Walrus Operator? With the latest development in Python 3.8, we have observed the addition .... Read More

Related Posts