Posts by Darshna Patil

Author Biographical Info: Not available

Program to check two Strings are Anagram or not using Hashmap in Java

By Darshna Patil

Today we are going to write a program to find or check whether two strings are an anagram or not using hashmap in Java. First, we should know what are anagrams. Anagrams are those .... Read More

Program to convert a Billion to Crore In Java

By Darshna Patil

Hi coders! today we going to write a code to convert a billion amount to crore in Java. As we move across the world we find different currency and there is also a different standar.... Read More

Program to convert pounds (lbs) to Kilograms (kg) in Java

By Darshna Patil

Today we are going to write a program to convert weight in pounds to kilograms. As we all know units are not the same everywhere, in some places pounds are used to measure the weig.... Read More

Converting Roman Numerals into Integer Value in Java

By Darshna Patil

Hi! coders today we are going to see that how to convert a Roman numeral in integer in Java. We all know that Roman numerals are the number system that originated in ancient Rome. .... Read More

Building Heap from an array in Java

By Darshna Patil

Hi coders! today we are going to see how to create a heap from an array in Java. First, we have to see what is a heap? A heap is a complete binary tree which satisfies two properti.... Read More

Find all missing numbers from a sorted array in Java

By Darshna Patil

Hi coders! today we are going to see how to find all the missing numbers in a sorted array in Java. We all know an array is a collection of similar data type data. if we want to st.... Read More

How to sort all 0s ,1s and 2s in an array in Java

By Darshna Patil

Today we are going to see an array sorting problem which is how to sort all 0s, 1s and 2s in an array in Java. Here we will sort an array full of only 0s, 1s and 2s only. The probl.... Read More

How does a carriage return (\r) works in Java

By Darshna Patil

Hi coders! today we are going to study a special character carriage return in Java. It is denoted by \r. Special characters are the character sequence that is used to perform a spe.... Read More