Java Examples
Find merge point of two lists in Java [Practical Examples]
In this article we explored three different methods which can be used in Java to find merge point of two lists i.e Brute Force Approach, Marking Node as visited …
How to convert List to Map in Java [Practical Examples]
In this tutorial, we covered three different approach to convert List to Map in Java i.e Using the put() method, Collectors.toMap() method and …
How to find a height of a tree data structure in Java
The Tree is a non linear data structure consisting of nodes and edges. Depending upon the type of tree, it can have 0 or more child nodes. There are two ways to …
8 ways to convert long to String in Java [Practical Examples]
The list below shows eight different ways in which we can convert long to string in Java. Using + operator, String.valueOf(), Long.toString(), DecimalFormat …
6 ways to implement Hashing in Java [Practical Examples]
In this tutorial we cover following 6 different methods to implement hashing in java. Using Hashtable Class, HashMap Class, LinkedHashMap Class, …
