Posts from Java

Shift elements of an array to Right in Java

By Kollabathula Preetham

In this tutorial, we will learn how we can shift the elements of an array to right using loops in Java. In this problem, we shift each of the elements of the array to right with th.... Read More

Time Conversion in Java

By Kollabathula Preetham

In this tutorial, we are going to learn Time conversion in Java (i.e) how we can convert 12-hour time notation to 24-hour time notation. In simple words given a time in 12-hour AM/.... Read More

Implementing Lucas Series in Java

By Kollabathula Preetham

In this tutorial, we will learn how to implement Lucas series in Java. So what is Lucas Series? Lucas Series Lucas Series is an integer sequence which is named after a mathematicia.... Read More

Calculating the sum of all numbers in a String in Java

By Kollabathula Preetham

In this tutorial, we will be calculating the sum of all numbers in a String in Java. The problem is pretty simple. We are supposed to add up all the numbers in a string. The part w.... Read More

How to do Bucket sort in Java?

By Tanisha Saxena

In this tutorial, we will learn to perform bucket sort in java to sort any given array. Bucket sort can sort an array in linear time but it only works for special set of inputs. Th.... Read More

Printing nodes that don’t have sibling in Java

By Krishna Lakhi

Hey Everyone! In this article, we will learn how to find out the nodes in a given binary tree that does not have any sibling and print it in Java. Before directly getting into the .... Read More

How to count the number of digits in a given string in Java

By Yanamandra Valli

In this tutorial, we will learn how to count the number of digits in a given string in Java. As we all know a string in Java is a user-defined of alphabets, numerals, alpha-numeric.... Read More

Pangram Checking in Java

By Kollabathula Preetham

In this tutorial, we will be checking if a string is a Pangram or not in Java. So what are Pangram Strings? Pangram A String which contains all the 26 letters of English alphabets .... Read More

Related Posts