How to perform Count and Toggle queries on Binary array in C++

By Amit Razdan

In this post, we will learn how to perform toggle as well as count operations on a binary array in C++.  Count and Toggle queries on Binary array C++ The binary array is an array .... Read More

Visualizing Crime against Women in India on a Map in Python

By Karun Thannickal

In this tutorial, we will see how to create a map to visualise crime against women in India in Python programming. We will create what is known as a choropleth map. A choropleth ma.... Read More

Formatting dates in Python

By Karun Thannickal

In, this tutorial we will learn about formatting dates in Python. We use the datetime module to do so. datetime is an inbuilt module in Python that allows us to easily work with d.... Read More

Group multiple occurrences of array elements ordered by first occurrence in Python

By Karun Thannickal

In this tutorial, we will learn how to group multiple occurrences of array elements. We order them by their first occurrences. We will implement this in Python. To do so, we requir.... Read More

Matrix multiplication in Python using Pytorch

By Ranjeet V

Hey guys, in this post we will see the matrix multiplication in Python using Pytorch. A general way to multiply matrices is by using nested loops. We can also use NumPy arrays for .... Read More

How to find the n-th node of the Inorder Traversal of a Binary Tree in C++

By Karun Thannickal

In this tutorial, we will learn how to find the n-th node of the inorder traversal of a Binary Tree in C++. First, we will quickly recap what inorder traversal of a Binary Tree is..... Read More

Blank Final variable in Java with examples

By Ranjeet V

When a variable is declared as final, it can be assigned a value only once and cannot be updated or changed. A blank final variable in Java is a final variable which is not assigne.... Read More

How to find symmetric pairs in a Python Dictionary

By Ranjeet V

Hello everyone, in this tutorial, we are going to see how we can find symmetric pairs in a Python Dictionary. suppose we have a dictionary called dict = {‘A’: 1, ‘.... Read More