• 17 November

    Get Level of A Node in Binary Tree in Java

    If you want to practice data structure and algorithm programs, you can go through 100+ java coding interview questions. 1. Overview In this article, we will explore how to get the level of node in a binary tree in Java using recursive and iterative solutions. 2. Introduction to Problem Statement We will search for a node […]

  • 12 November

    Add two numbers represented by Linked List in java

    If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. Java Linked List Interview Programs: How to reverse a linked list in java How to reverse a linked list in pairs in java How to find middle element of linked list in java How to detect […]

  • 06 November

    Vertical sum of binary tree in java

    If you want to practice data structure and algorithm programs, you can go through 100+ java coding interview questions. This is 10th part of java binary tree tutorial. In this post, we will see how to print vertical sum of binary tree nodes in java. Below diagram will show vertical sum for binary tree. Algorithm: Steps […]