Checking for Magic Numbers using Functions in Python

By Souhardya Ganguly

In this Python tutorial, we shall see how to check whether a number is a Magic Number or not. We shall use functions in Python for the same. What is a Magic Number? If we iterate t.... Read More

Linear Regression from scratch in Python

By Yashwanth Guguloth

In this tutorial, we will implement a linear regression algorithm from scratch in Python without using any inbuilt libraries. We know that in linear regression we find the relation.... Read More

C++ program to Check if all leaves are at same level

By Shoif Md Mia

A node of a tree is called leaf when it’s both the children are NULL. Now, in a given binary tree, we have to check whether all the leaves are at the same level. In this tree.... Read More

Introduction to regular expressions and a sample problem in Python

By HIMANSHU ZAVERI

This post will prove to be useful for those who wish to learn and kickstart with the Regular Expressions (REs or Regex) in Python Programming Language. In simple words, Regular Ex.... Read More

Rabin Karp algorithm for pattern matching in C++

By Prayas Sambhare

In this tutorial, we are going to learn about the Rabin Karp algorithm in C++ with code implementation. Rabin Karp algorithm is an optimization of the naive algorithm which is O(n*.... Read More

How to Round Numbers in Python Language

By Animesh Jain

In this tutorial, we will understand how does rounding off works and how to implement it using Python language. In mathematics, rounding off a number means making a number easier t.... Read More

Concept Drift and Model Decay in Machine Learning

By Ujjwal Tyagi

Hello, fellow machine learning enthusiasts. Today, we are going to learn about Concept Drift and Model Decay in Machine Learning. Well if you had been working in this field then yo.... Read More

Magic Square Identification in Python

By Manan Kumar

In this tutorial, we are going to learn how to identify whether a given matrix is a magic square or not in Python. First, let’s take a look at what we mean by a magic square in t.... Read More