Group words with the same set of characters in Python

By Devansh Sharma

Grouping words with the same set of characters in Python is also known as Group Anagrams, Given a list of words with the same set of characters with different positions in word li.... Read More

Matrix Diagonal Sum in C++

By Palani M

In this tutorial, we will be writing a program to calculate sum of the diagonal elements of a matrix in C++. Diagonal Matrix Sum in C++ This question was a part of the Leetcode Biw.... Read More

TreeMap put() and putAll() methods in Java

By Shradha Jadhav

We will study about put() and putAll() methods in Java, in the present tutorial. Both put() and putAll() methods belongs to TreeMap class, which is an implementation class of Navig.... Read More

Find maximum sum of all diagonals in matrix Python

By Palani M

In this tutorial, we will learn how we can traverse through all diagonals in a 2D matrix in Python. Find the maximum sum of all diagonals in matrix Python This question is based on.... Read More

LinkedHashMap in Java with example

By Shradha Jadhav

We are going to about LinkedHashMap in Java, in the given tutorial. LinkedHashMap LinkedHashMap is a Hash table and linked list implementation with the feature of maintaining an or.... Read More

Union of set of Tuples in Python

By Siddharth Raja

In this tutorial, we will see how to find the union of sets of tuples in python. Let us start with the definition of the union in set theory. The union of sets is the set of every .... Read More

Find the first repeated character in a string in Java

By Siddharth Raja

In this tutorial, we are going to write a program to find the first repeated character in a string in Java. In this problem, we need to find the first character that is repeated an.... Read More

Check for Children Sum Property in a Binary Tree in Python

By Taanvi Goyal

Children Sum property is that the root’s value must be equal to the sum of the data value of its immediate left child and right child. We can say that under this property; fo.... Read More