Calculate seed of a number in Python

By Meetali Tomer

In this tutorial, we will learn how to find the seed of a number in Python. Definition of seed A number x is said to be the seed of a number n if : x *  product of digits of x is .... Read More

sklearn.metrics.mean_absolute_error in Python

By Vedant Vachharajani

This article is about calculating Mean Absolute Error (MAE) using the scikit-learn library’s function sklearn.metrics.mean_absolute_error in Python. Firstly, let’s star.... Read More

Pair and Triplet Iteration in Python List

By Vedant Vachharajani

In this article, we are going to learn about pair and triplet iteration of a list in Python. Sometimes, it happens that we have to consider two or even three elements of a list to .... Read More

Iterative method to check if two trees are mirror of each other in Python

By Vedant Vachharajani

In this article, we are going to look at the algorithm and a Python program to check if two trees are mirror of each other. Consider a binary tree T. Interchanging its left and rig.... Read More

Reading blob object in Python using wand library

By Vedant Vachharajani

This article is about reading a blob object using wand library in Python. But before doing that, we need to define what a blob object is. BLOB stands for Binary Large Object. Blob .... Read More

Methods vs Functions in C++ with Examples

By Amit Raja Kalidindi

In this tutorial, we are going to learn about the aspects that make methods different from functions in C++. A function contains a set of instructions that are used to perform a sp.... Read More

Decrementing an iterator in C++

By Amit Raja Kalidindi

In this tutorial, we are going to learn how to decrement an iterator in C++. These are used to traverse through the elements of the containers. All containers in C++ do not support.... Read More

How to check if two given sets are disjoint in C++

By Amit Raja Kalidindi

In this tutorial, we are going to learn how to check if two sets are disjoint in C++. Two sets are disjoint if the sets do not have any common elements. Naive Approach Let us consi.... Read More

Related Posts