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

Singleton Design Pattern in Python

By Taanvi Goyal

Singleton design pattern is a pattern which we use to restrict a class to initialize its various objects. In short, it can be said as a method to define a class, defined in a way t.... Read More

Karger’s algorithm for Minimum Cut in Python

By Taanvi Goyal

Karger’s algorithm is a type of ‘random algorithm’ because every time we run it, it gives out a solution that can not be sure to be the best solution. The Karger&.... Read More

Combinatoric Iterators in Python

By Taanvi Goyal

Combinatoric iterators or generators contain mainly four iterators which can be used to perform combination, permutation and products of the data. These iterators are contained in .... Read More

How we can insert a string into another string in Java

By Siddharth Raja

In this tutorial, we will see a program to insert a string into another string in Java. Consider the user enters two strings and an index value, we need to insert the second string.... Read More