Eulerian Path and Circuit for undirected graphs in C++

By Keshav J

In this tute, we will discuss Eulerian Path and Circuit for undirected graphs in C++. Many of us would’ve heard of this somewhere when learning math concepts. What is an undi.... Read More

Scikit-learn accuracy score

By Deepanshu Dashora

Introduction: In machine learning models accuracy plays an important role. Accuracy is a mirror of the effectiveness of our model. Not even this accuracy tells the percentage of co.... Read More

Modular Exponentiation (Power in Modular Arithmetic) in C++

By Keshav J

In this tute, we will discuss Modular Exponentiation (Power in Modular Arithmetic) in C++. Given 3 integers a, b, and m, find (ab) % m. Let’s see how to calculate (ab) % mĀ i.... Read More

How to convert map to JSON string in Java

By Kamalpreet Singh

In this tutorial, we will learn how to convert Map to JSON String. For this, first of all, we will learn What is the map? Answer. The map contains the values on the basis of keys i.... Read More

Change the current working Directory in Python

By C.Surya Venkat

In this tutorial, we will learn about how to change the current working directory in Python with some easily understandable examples. When we are dealing with Python in some cases .... Read More

Count occurrence of character in file using Python

By Siddharth Shankar Debata

Today in this tutorial, we will get to know how to count the occurrence of a character in a text file using Python. Here we will take a text file ‘text.txt’ as the prog.... Read More

Data Types in Python

By Sharan

In this tutorial, we are going to learn about the various data types that Python works upon. Data Types – Description Boolean – Represents two values of logic and assoc.... Read More

Normalizing an image in OpenCV Python

By Shubham Kumar Singh

Fellow coders, in this tutorial we will normalize images using OpenCV’s “cv2.normalize()” function in Python. Image NormalizationĀ is a process in which we change.... Read More