How to check for Majority Element in an array in C++

By Akash Dileep

In this tutorial, we are going to see some ways to find the majority element in an array in C++. A majority element in an array is that element whose frequency is greater than R.... Read More

Transpose of a Matrix (One Liner)| Python

By Harshal Patel

Hello everyone, in this tutorial we are going to learn a trick to find the transpose of a matrix of any given dimension with Python. A normal way to do this is by initializing two .... Read More

tf.DeviceSpec in Tensorflow with example

By Mir Shaharayan Ali Khan

Hi guys, This tutorial is to briefly understand about tf.DeviceSpec in Tensorflow. The “tf.DeviceSpec” is one of the Tensorflow’s API that describes where the sta.... Read More

Java program to Rotate bits

By Shradha Jadhav

Let’s learn a Java program to rotate bits. Firstly, we have to learn about bit rotation in this tutorial. In the Bit rotation is an operation, shifting of the bits happens. I.... Read More

numpy.prod() method in Python

By Sahil Singh

In this article, we will learn about numpy.prod() method in Python. Introduction:- numpy.prod() returns the product of an array with certain parameters defined. Syntax:- numpy.prod.... Read More

Find indices of Target sum in a given array in C++

By Palani M

In this tutorial, we will be solving a popular algorithmic challenge. This question can be found on leetcode as TwoSum. We will be solving this Two Sum problem in C++. Two Sum Prob.... Read More

Rearranging spaces between words in Python

By Palani M

In this tutorial, we will be solving a Leet code weekly contest problem in which we are required to rearrange the spaces between a given string text using Python programming. Assum.... Read More

Predict Next Purchase using Machine Learning in Python

By Ashutosh Khandelwal

In this tutorial, we will learn how to Predict the Next Purchase using Machine Learning in Python programming language. Basically, by next purchase here we mean that number of item.... Read More

Related Posts