Posts from Java

Postorder tree Traversal using Recursion in Java

By Kollabathula Preetham

A hierarchical data structure like a tree can be traversed in many ways. In this tutorial, we will learn one of the three ways of DFS ( depth-first search ) that is Postorder Tree .... Read More

Java Program to Find factors of a number

By Priyam Patel

In this tutorial, we will be going to study factors and how to solve the problem Java Program to find Factors of a number. Also, we will be dealing with factors in detail in this t.... Read More

Level Order tree Traversal implementation in Java

By Kollabathula Preetham

In this tutorial, we will learn what level order tree traversal is and how we can implement it in code in Java. Level Order Traversal In a level order traversal, we visit each of t.... Read More

Print the largest number below ‘n’ which does not contain the digit ‘k’ in java

By Sameer

In this tutorial, we are going to understand another string utilization problem. Learn how to print the largest number below ‘n’ which does not contain the digit ‘.... Read More

Preorder tree Traversal using Recursion in Java

By Kollabathula Preetham

Hey coders! There are multiple ways to traverse a tree in Java. In this tutorial, we will learn one of the three ways of DFS ( depth-first search ) that is Preorder tree Traversal .... Read More

Missing characters to make string pangram in Java

By Sameer

In this tutorial, we will find what are the missing characters in a given string to make it a pangram in Java. What is a pangram? A pangram is a sentence that contains all the alph.... Read More

Binary to Decimal conversion in Java

By snormy

This tutorial would help in learning the following: Conversion of numbers from binary-system (0 and 1) to decimal-system (using 0 to 9) in Java. Re-conversion of characters into t.... Read More

Searching in a sorted and rotated array using Java

By Tanisha Saxena

In this tutorial, we will see how to search an element in a sorted and rotated array using Java. Here, our challenge is to search the element in such an array in o(log n) time comp.... Read More

Related Posts