In this tutorial, we are going to remove the characters from a string that appears an odd number of times in it. We are going to use HashMap in JAVA to improve our time complexity .... Read More
In this tutorial, we will write the code for this most frequently asked interview question “Sort a nearly k-sorted array” in Java. Using Min Heap in Java We are going t.... Read More
In this tutorial, I will be showing how to check if two trees are identical or not in Java. I will be using Java language to implement my approach. Let us get started. Check if two.... Read More
Currency is a pre-defined class present in the util package of Java. ISO 4217 is an internationally accepted standard. It recognizes currency and its code from all over the world. .... Read More
In this tutorial, we will write a Java program to find a pair with the greatest product in an array using a Brute Force as well as a Time-Efficient Approach. Brute Force Approach F.... Read More
In this module, we are going to discuss find the median of an array using the quick-select algorithm in Java. The main aim of the quick-select algorithm is to find the kth smallest.... Read More
In the following tutorial, we will learn about logging in Java. Application activity is stored in log files and we can obtain those log files using Java. Logging means keeping a re.... Read More
In this tutorial, we are looking forward to solving one of the most frequently asked interview problems ” The coin change” using dynamic programming. Solving the coin c.... Read More